Latest Posts
-
C++ Cheat Sheet and Quick Reference Guide
The Tools To compile and test code on Windows, my recommendation would be using: Microsoft Visual Studio 2008/2010 Express Editions (ask your instructor about full versions) On an older Windows box (if it’s not quad core), you might want to… Continue reading
-
Download File with Update Progress in .Net
Next best thing to wget on Windows. ๐ VB C# (note this is autoconversion and actual project is in VB): Continue reading
-
Get Current Process ID in C# .Net
References MSDN (GetCurrentProcessID), http://msdn.microsoft.com/en-us/library/ms683180(v=vs.85).aspx MSDN (GetCurrentProcess), http://msdn.microsoft.com/en-us/library/system.diagnostics.process.getcurrentprocess.aspx Continue reading
-
AppActivate In C#
Note: This code was only tested on Windows 10. AppActivate, which many of you may recognize from VB activates a window for an application which is already running, bringing the window of that app to the foreground. In C#, there… Continue reading
-
Start a Process in the Foreground in C# .NET without AppActivate
In my particular scenario, I was using System.Diagnostics.Process to start another application, compiled separately, which communicated with the original app which launched the process and used Windows inter-process communication (IPC) to share information across applications using my own protocol. I… Continue reading
-
The type initializer threw an exception
In case this error seems to appear out of thin air in your application, this is usually an indication that a variable declared in one of your classes (likely a static class) is having trouble getting or setting it’s value.… Continue reading
-
Remove Repair Option from Custom Windows Installer
This technically can be done in various ways relating to InstallShield, Wise, WiX, NSIS or other installer platforms, but generally speaking is the same concept all throughout whether you are using third party tools or creating your own bootstrap/windows installer… Continue reading
-
Download Recordings from Adobe Connect Pro
Thanks goes to Guillaume Privat on Adobe Learning Center (see references below for links): (And a shout out to Matt Chambers for providing the links :D) 1) You need to ensure you are an account administrator of have full right… Continue reading
-
macports no indexes found, sync your source indexes
If you’re a Mac Poweruser and not already familiar with macports, this is great package I would highly recommend, especially if you’re a bit of a *nix terminal junkie. Download and installation is a breeze. Click on the link for… Continue reading
-
Mac Sudo Password
Note: “Sudo” is short for “Substitute User Do” or “Superuser Do” This may come as a shock if you’re new to Mac and ever used a *nix system before.. but the sudo password, is your password! If you’re administrator anyway,… Continue reading