Programming & Development
-
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
-
Get application install path in C#
This path is stored in the registry under a string value named InstallLocation. The actual registry path varies depending on the installer. MSI / Windows Installer Project: InstallShield and Wise: References http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/fe4e31b9-2eee-45db-a30e-119f87d9df4d Continue reading
-
MIME Types
By Type: Type/sub-type Extension application/envoy evy application/fractals fif application/futuresplash spl application/hta hta application/internet-property-stream acx application/mac-binhex40 hqx application/msword doc application/msword dot application/octet-stream * application/octet-stream bin application/octet-stream class application/octet-stream dms application/octet-stream exe application/octet-stream lha application/octet-stream lzh application/oda oda application/olescript axs application/pdf pdf… Continue reading
-
Impersonation with Network Credentials in C# .Net
(Mostly) unmodified code, courtesy of Phil Harding (see references below for original post). References http://platinumdogs.wordpress.com/2008/10/30/net-c-impersonation-with-network-credentials/ Continue reading
-
MySQL Quick Reference
Import CSV: References http://www.pantz.org/software/mysql/mysqlcommands.html http://support.modwest.com/content/6/253/en/how-do-i-import-delimited-data-into-mysql.html Continue reading
-
Logon failure: unknown username or bad password
The following error occurred on an application deployed to a Server 2008 machine which was not part of the domain, but on the same network. The application needed to query to domain controller for permissions related to the users browsing… Continue reading
-
aspnet_setreg in Server 2008
The aspnet_setreg utility is very useful for storing encrypted domain credentials, connection strings and other values referenced in a web.config which should not be visible in plaintext. One such technique is when using the .Net “impersonation” mechanism. Typically, this would… Continue reading
-
ZyXel Port Forwarding Issues
After what seemed like endless search over short period of time, and much wasted time on phone calls to support reps who were not familiar with telnet.. I finally stumbled across this article below from howtoforge Big thanks goes out… Continue reading