An easy way to make games for the PC and Mobile platform!
Create your first Android Game with libgdx - CodeProject
This blog will hold favorite gadgets and graphic user interfaces that don't really fit in my main blog @ mmcelhaney.blogspot.com
Saturday, December 28, 2013
Thursday, December 19, 2013
Some simple tools for rapid mobile development - CodeProject
This is an interesting article about rapidly developing a mobile application.
Some simple tools for rapid mobile development - CodeProject
Some simple tools for rapid mobile development - CodeProject
Thursday, December 5, 2013
Installing oracle database 11g on windows 7
Well, here we go again with some more resources. I hope I have better luck this time.
Installing oracle database 11g on windows 7
Here is another article I am going to try.
Oracle 11g step-by-step Installation Guide with Screenshots
Installing oracle database 11g on windows 7
Here is another article I am going to try.
Oracle 11g step-by-step Installation Guide with Screenshots
Tuesday, December 3, 2013
Kinect on Windows (OpenNI and NITE)
Here are some article about programming for the Kinect
How-to: Successfully Install Kinect on Windows (OpenNI and NITE) - CodeProject
Monday, December 2, 2013
Embedding an image inside an HTML email - CodeProject
Here is a good article for programming an image into an HTML e-mail! Very useful!
Embedding an image inside an HTML email - CodeProject
Embedding an image inside an HTML email - CodeProject
Split a XAP file up
Sometimes a silverlight file (*.xap) gets to be large. The larger the file, the longer it takes to load in your browser. One of my co-workers suggested splitting it up into smaller modules and loading them as needed to make the wait time in the initial load shorter. The following link tells how to do that!
Split a XAP file up
Split a XAP file up
Monday, November 25, 2013
timer - creating a delay on silverlight - Stack Overflow
Here is some non-blocking coding solutions to using timers in a Silverlight Web App.
timer - creating a delay on silverlight - Stack Overflow
timer - creating a delay on silverlight - Stack Overflow
Friday, November 22, 2013
Installing Oracle Blues
I'm back at it: trying to install Oracle on Windows 7. I have found a couple of sites that I will be using as a guide.
Quick Guide:
http://docs.oracle.com/cd/E11882_01/install.112/e24283.pdf
Full Guide:
http://docs.oracle.com/cd/E11882_01/install.112/e24186.pdf
Backups and recovery:
http://docs.oracle.com/cd/B19306_01/server.102/b14220/backrec.htm
http://www.dba-oracle.com/concepts/rman_recovery_database_spfile.htm
Quick Guide:
http://docs.oracle.com/cd/E11882_01/install.112/e24283.pdf
Full Guide:
http://docs.oracle.com/cd/E11882_01/install.112/e24186.pdf
Backups and recovery:
http://docs.oracle.com/cd/B19306_01/server.102/b14220/backrec.htm
http://www.dba-oracle.com/concepts/rman_recovery_database_spfile.htm
Instantly use your PowerGUI PowerPacks ...
Need to manage an IT system. This might work for you. It lets you manage your system from iOS, Android and Windows Mobile Systems. I don't have a real use for this now, but I think I will.
Instantly use your PowerGUI PowerPacks ...
Instantly use your PowerGUI PowerPacks ...
Thursday, November 21, 2013
Using MVC to Understand ASP.NET, iOS, Android and Hybrid Development - CodeProject
This is an article that will be very handy! I've been looking for information about how to simultaneously design and write software that will work for ASP.NET, iOS, and Android! This fits my needs nicely!
Using MVC to Understand ASP.NET, iOS, Android and Hybrid Development - CodeProject
Using MVC to Understand ASP.NET, iOS, Android and Hybrid Development - CodeProject
Wednesday, November 20, 2013
Fun Batch File Codes
This article gives 10 scripts that can be used to do really cool stuff
Code #1- The matrix look alike code
Code #2- E-bomb
Code #3- Manual message making SPAMMER!
Code #5- Current date and time code
Code #6- Black screen march (makes multiple command prompts and overloads computers memory)
Code #7- Simple text book diary log
Code #8- Getting your self automated chat
Code #9- code for opening and closing your CD drive
Code #10- shutdown computer
Fun Batch File Codes
Code #1- The matrix look alike code
Code #2- E-bomb
Code #3- Manual message making SPAMMER!
Code #5- Current date and time code
Code #6- Black screen march (makes multiple command prompts and overloads computers memory)
Code #7- Simple text book diary log
Code #8- Getting your self automated chat
Code #9- code for opening and closing your CD drive
Code #10- shutdown computer
Fun Batch File Codes
popup - How can you create pop up messages in a batch script? - Stack Overflow
This article offers example code for making Windows Batch files (*.bat) make popup message boxes Real Handy!
popup - How can you create pop up messages in a batch script? - Stack Overflow
popup - How can you create pop up messages in a batch script? - Stack Overflow
Wednesday, November 6, 2013
Programmatically Create a Shortcut and Run It As Administrator
I've recently ran into major problems getting a *.bat (DOS Batch) file generated on-the-fly by a web service I wrote to call another program on the same computer that is running the web service. The *.bat file generates a *.rsp file containing a bunch of input parameters and passes it to the program I want to run. On Windows XP there was no problem but on windows 7, the *.bat files needs more special commission. It didn't even matter that I was signed in as an administrator. The Bat file is not able to run properly. Then I discovered if I run the *.bat file "as administrator" by right-click on the *.bat file in windows Explorer the *.bat file runs just as I intended. Somehow I had to get my web service to run the *.bat file "as administrator". This was much more difficult to find an answer than I thought. I found out that if I create a short-cut to the *.bat file and run that shortcut "as administrator" it would work perfectly. Fortunately, it's possible to programmatically to both create the shortcut on the fly and set "the run Administrator" flag for the shortcut from my web service. My solution is based on the following article:
How to set “Run as administrator” flag on shortcut created by MSI installer
Here is the code, I use.
Where path2file is the path to the shortcut.
How to set “Run as administrator” flag on shortcut created by MSI installer
Here is the code, I use.
'Create Shortcuts
Dim VbsObj As Object
VbsObj = CreateObject("WScript.Shell")
Dim MyShortcut As Object
MyShortcut = VbsObj.CreateShortcut(pathe2file & "\GetFVSstand" & ".lnk")
MyShortcut.TargetPath = pathe2file & "\GetFVSstand.bat"
MyShortcut.WorkingDirectory = pathe2file
MyShortcut.Save()
Dim ret As Integer
ret = fSetRunAsOnLNK(pathe2file & "\GetFVSstand" & ".lnk")
Public Function fSetRunAsOnLNK(ByVal sInputLNK As String)
Dim fso As Object, wshShell, oFile, iSize, aInput(), ts, i
fso = CreateObject("Scripting.FileSystemObject")
wshShell = CreateObject("WScript.Shell")
If Not fso.FileExists(sInputLNK) Then fSetRunAsOnLNK = 114017 : Exit Function
oFile = fso.GetFile(sInputLNK)
iSize = oFile.Size
ReDim aInput(iSize)
ts = oFile.OpenAsTextStream()
i = 0
Do While Not ts.AtEndOfStream
aInput(i) = ts.Read(1)
i = i + 1
Loop
ts.Close()
If UBound(aInput) < 50 Then fSetRunAsOnLNK = 114038 : Exit Function
If (Asc(aInput(21)) And 32) = 0 Then
aInput(21) = Chr(Asc(aInput(21)) + 32)
Else
fSetRunAsOnLNK = 99 : Exit Function
End If
fso.CopyFile(sInputLNK, wshShell.ExpandEnvironmentStrings("%temp%\" & oFile.Name & "." & Hour(Now()) & "-" & Minute(Now()) & "-" & Second(Now())))
On Error Resume Next
ts = fso.CreateTextFile(sInputLNK, True)
If Err.Number <> 0 Then fSetRunAsOnLNK = Err.Number : Exit Function
ts.Write(Join(aInput, ""))
If Err.Number <> 0 Then fSetRunAsOnLNK = Err.Number : Exit Function
ts.Close()
fSetRunAsOnLNK = 0
End Function
Where path2file is the path to the shortcut.
Monday, October 7, 2013
Sunday, October 6, 2013
Windows OS Version Detector - CodeProject
Handy little project for detecting which Windows OS is running!
Windows OS Version Detector - CodeProject
Windows OS Version Detector - CodeProject
Programmatic Execution of an Excel Macro on Remote Machine from a Website - CodeProject
Here is an article about running an Excel Macro on a remote machine via a website! Could be handy!
Programmatic Execution of an Excel Macro on Remote Machine from a Website - CodeProject
Programmatic Execution of an Excel Macro on Remote Machine from a Website - CodeProject
Friday, October 4, 2013
.git and Dropbox Integration within Visual Studio - CodeProject
Integrate Visual Studio with Dropbox!!!
.git and Dropbox Integration within Visual Studio - CodeProject
.git and Dropbox Integration within Visual Studio - CodeProject
Installing multiple SQL scripts using a single PowerShell script - CodeProject
Here is an article for using multiple SQL scripts through a single
PowerShell script!
Installing multiple SQL scripts using a single PowerShell script - CodeProject
PowerShell script!
Installing multiple SQL scripts using a single PowerShell script - CodeProject
The “Star Wars” Crawl Coded Into HTML And CSS
Want to make the "Star Wars" Crawl in HTML and CSS? Sure you do!!!!
The “Star Wars” Crawl Coded Into HTML And CSS
How to Split a GIF Frame By Frame and Save Them to Memory - CodeProject
C# code for splitting a GIF file and save them!
How to Split a GIF Frame By Frame and Save Them to Memory - CodeProject
How to Split a GIF Frame By Frame and Save Them to Memory - CodeProject
Using Gmail Account to Send Emails With Attachment - CodeProject
Here is a snippet of code for sending e-mail using Gmail!
Using Gmail Account to Send Emails With Attachment - CodeProject
Dynamic Programming with Python and C# - CodeProject
Here is a great article for using Iron Python to use Dynamic Programming
Dynamic Programming with Python and C# - CodeProject
Dynamic Programming with Python and C# - CodeProject
Simple Powershell script to clean up IIS log files - CodeProject
PowerShell scripts are always handy. Here is one for cleaning up IIS log files.
Simple Powershell script to clean up IIS log files - CodeProject
Simple Powershell script to clean up IIS log files - CodeProject
Sunday, September 29, 2013
How to Get Media Files Properties in VB.NET - CodeProject
This is a good article for finding media file properties programmatically.
How to Get Media Files Properties in VB.NET - CodeProject
Wednesday, August 21, 2013
Playing Flash Files (SWF) in C# Form - CodeProject
Now this is an article that will come in handy!
Playing Flash Files (SWF) in C# Form - CodeProject
Maybe sometimes you want to play a shockwave flash file (.swf format) in your C# or VB Visual Studio form. There are many ways to do it, but the easiest way is using its component which is available for use. In this tip for beginners, we will review how to play a shockwave file (.SWF) in our Visual Studio form with the easiest and fastest way by using Shockwave flash object component.This component is located at %systemroot%\system32\macromed\flash9c.ocx and if you can't find it, you must install the latest version of Adobe Macromedia Flash Player. With this component, you can play all .swf files in order to show them in your projects and not reference which kind of flash file you use (a flash game, a flash banner or something else).
Playing Flash Files (SWF) in C# Form - CodeProject
Android: How to communicate with .NET application via TCP - CodeProject
This is a very handy article to have.
Android: How to communicate with .NET application via TCP - CodeProject
Android: How to communicate with .NET application via TCP - CodeProject
Monday, July 29, 2013
PowerShell 4.0 - What's new? - CodeProject
This is article is handy to have!
PowerShell 4.0 - What's new? - CodeProject
In this article we'll discover some great new features that simplify the live of an administrator or an operator. We'll be shown features like Desired State Configuration. New and extended cmdlets will be demonstrated. Details about PowerShell internals and PowerShell 4.0 internals can be found in may previous article.
PowerShell 4.0 - What's new? - CodeProject
Sunday, July 7, 2013
High precition native Gaussian Elimination - CodeProject
Okay maybe Gaussian Elimination hasn't been something I've had to worry about recently, but when I do need to code it, this article will help.
High precition native Gaussian Elimination - CodeProject
High precition native Gaussian Elimination - CodeProject
Thursday, June 27, 2013
How to Get Full File Path in Silverlight - CodeProject
Silverlight Logo (Photo credit: Wikipedia) |
This solution will perfectly work on Internet Explorer, will only show file name on Firefox and won't work on Chrome, because of Input element implementation... :@
Better than nothing!
How to Get Full File Path in Silverlight - CodeProject
Friday, June 21, 2013
Thursday, June 20, 2013
Introduction to MonoDroid/Android Programming for .NET/C# Developers - CodeProject
Definitely a Video worth going back to - an introduction to Android Programming using tools developed for .NET/C# developers!
Introduction to MonoDroid/Android Programming for .NET/C# Developers - CodeProject
Introduction to MonoDroid/Android Programming for .NET/C# Developers - CodeProject
Digital Certificate Creator Tool - CodeProject
These days you have to digitally sign nearly everything you host or distribute! This is handy!
Digital Certificate Creator Tool - CodeProject
Digital Certificate Creator Tool - CodeProject
Android 3D Carousel - CodeProject
This Article is about how to do a 3D image carousel on Android apps.
Android 3D Carousel - CodeProject
Android 3D Carousel - CodeProject
Tuesday, June 18, 2013
A Silverlight Resizable TextBlock (and other resizable things) | Colin Eberhardt's Technology Adventures
For several months i have been looking for Silverlight code to make it possible to make the elements on a form resizeable. This code does it. I can even get the example to work. Now I just have to add it to my project.
A Silverlight Resizable TextBlock (and other resizable things) | Colin Eberhardt's Technology Adventures
Monday, June 10, 2013
Parallel Programming in C# 4.0, 4.5 - CodeProject
English: Image processing on a hypercube. Step 2. (Photo credit: Wikipedia) |
Parallel Programming in C# 4.0, 4.5 - CodeProject
Monday, May 27, 2013
How to Silently Print Pdfs using Adobe Reader and C# - CodeProject
Deutsch: Logo des Adobe Portable Document Format (Photo credit: Wikipedia) |
How to Silently Print Pdfs using Adobe Reader and C# - CodeProject
Tuesday, May 21, 2013
Friday, May 17, 2013
Using Matlab from a C# application - CodeProject
First eigenfunction of the L-shaped membrane, resembling (but not identical) to MATLAB's logo trademarked by MathWorks Inc. (Photo credit: Wikipedia) |
Using Matlab from a C# application - CodeProject
Related articles
Wednesday, May 15, 2013
A computational statistics class - CodeProject
I am always interested in math libraries. Here a statistics library that seems to offer most of the calculation that most people will ever need.
A computational statistics class - CodeProject
A computational statistics class - CodeProject
Thursday, April 18, 2013
Finite Element programming in Julia - CodeProject
Illustration of the Finite element method, the computed solution. (Photo credit: Wikipedia) |
A simple finite element code in Julia for solving the 2D Poisson equation over the unit square is presented in this article. The code uses only Julia's standard library and thus does not have any external dependencies. It solves the partial differential equation u,xx + u,yy = -6 over the unit square with the Dirichlet boundary condition u = 1 + x^2 + 2y^2 on the sides of the unit square. The code can however be easily modified to study other instances of the Poisson equation. The unit square is discretized with linear triangular finite elements and the stiffness matrix and load vectors are calculated using a one-point quadrature rule.
Finite Element programming in Julia - CodeProject
How to make a multi-language application in C# - CodeProject
The Microsoft Visual Studio .NET logo. (Photo credit: Wikipedia) |
We know that a software prerequisite is that if it is being used all over the world, it must have a multi-language interface because not everyone speaks English. The problem is, how does one create a multi-language software which can edit and add other languages easily?
This article presents a solution to solving this problem using C# and Visual Studio 2008.
First we will present how to create an application in Vietnamese and English. Then we will present the procedure to add other languages (for instance, French).
How to make a multi-language application in C# - CodeProject
Wednesday, April 17, 2013
How to Write Your Own Siri Application (Mobile Assistant Application) - CodeProject
Siri HAL-9000 (Photo credit: AcidZero) |
How to Write Your Own Siri Application (Mobile Assistant Application) - CodeProject
3D solar system with OpenGL and C# - CodeProject
Solar System (Photo credit: Joe Plocki (turbojoe)) |
Hello this is a 3D solar system implementation with OpenGL and C#. I tried to keep it simple because this demo it’s only for educational purposes. It contains the sun, the planets, our moon, the planet’s orbit and some stars. It is programmed in Visual Studio 2008 and I have upgraded it to Visual Studio 2010 without any kind of issue. I used for this demo the TAO namespace which it’s an interop between the OpenGL dll and the .NET Framework. I also used Shadowengine, a small graphic framework developed by me to get rid you of the tedium of hard coding the loading of textures, the initialization of the graphic context among others.
3D solar system with OpenGL and C# - CodeProject
Display Twitter statuses in Android - CodeProject
Image via CrunchBase |
Display Twitter statuses in Android - CodeProject
Integrate Tumblr into C#.NET Website - CodeProject
sid05.tumblr.com (Photo credit: Sid05) |
Integrate Tumblr into C#.NET Website - CodeProject