Daniel Schroeder

Sharing my tips and tricks to help other developers be more productive. This blog has moved to http://blog.danskingdom.com
posts - 44 , comments - 41 , trackbacks - 0

September 2012 Entries

Adding and accessing custom sections in your C# App.config
So I recently thought I’d try using the app.config file to specify some data for my application (such as URLs) rather than hard-coding it into my app, which would require a recompile and redeploy of my app if one of our URLs changed. By using the app.config it allows a user to just open up the .config file that sits beside their .exe file and edit the URLs right there and then re-run the app; no recompiling, no redeployment necessary. I spent a good few hours fighting with the app.config and looking ......

Posted On Tuesday, September 25, 2012 4:00 PM | Comments (1) |

SQL Server script commands to check if object exists and drop it
Over the past couple years I’ve been keeping track of common SQL Server script commands that I use so I don’t have to constantly Google them. Most of them are how to check if a SQL object exists before dropping it. I thought others might find these useful to have them all in one place, so here you go… Read more at http://blog.danskingdom.com... ......

Posted On Friday, September 14, 2012 12:53 PM | Comments (1) |

AutoHotkey cannot interact with Windows 8 Windows…or can it!
If you’ve installed Windows 8 and are trying to use AutoHotkey (AHK) to interact with some of the Winodws 8 Windows (such as the Control Panel for example), or with apps that need to be Ran As Administrator, then you’ve likely become very frustrated as I did to discover that AHK can not send any commands (keyboard or mouse input) to these windows. This was a huge concern as I often need to run Visual Studio as an administrator and wanted my hotkeys and hotstrings to work in Visual Studio. After a ......

Posted On Monday, September 10, 2012 1:56 PM | Comments (0) |

Powered by: