Latest Posts
-
Defend and Fix your site attacked by “lizamoon” and other types of SQL Injection
Before I discuss some of the more technical details regarding defense against “lizamoon” and similar attacks, an important note I would like to make to any business executives who may stumble across the article or hear it secondhand: PCI if… Continue reading
-
Create an Uninstall Shortcut for Windows Installer in C#
When utilizing the windows installer project type bundled with Visual Studio I was very surprised to find there was no simple functionality to add an uninstall shortcut. Instead, there are a few workarounds, some better than others but overall going… Continue reading
-
Burn Hybrid CDs using Free Tools
CD Burning in general is supported in most operating systems right out of the box. However, if you’re looking for a free alternative to features which are otherwise considered “premium”, like burning hybrid CD’s that work on Windows and Mac… Continue reading
-
Ruby Quick Code Reference
CRUD: Create (alternate syntax): Read (alternate syntax): Update (alternate syntax): Delete (alternate syntax): References Railsforzombies.org Continue reading
-
Access Denied on File Delete or Cannot delete file
If you receive an “access denied” message on your PC, whether in Windows or Linux, which occurs when trying to delete or modify a file, it can usually be narrowed down to a few reasons: – The file is marked… Continue reading
-
Change ReadOnly File Attribute in C#
Keep in mind when deleting files from code the typical override allowing users to delete anything in their path, whether it is marked readonly or not, will prevent your IO process from continuing and throw a nice little generic “access… Continue reading
-
Left in C#
The C# way, using substring: After adding a reference in your project to “Microsoft.Visualbasic” under NET tab: See reference below if you’d alternatively like to save a few keystrokes and create your own generic re-usable function called “Left” in C#… Continue reading
-
Change screen location in winforms C#
References http://msdn.microsoft.com/en-us/library/52aha046%28v=vs.80%29.aspx Continue reading
-
Hide Microsoft AJAX Modal Popup Extender from Javascript
There are many cases where you may want to add multiple buttons to hide or show the MS AJAX modal popup extender dialog. You also may want to intercept close and show events with javascript to do other functionality prior… Continue reading