.NET Code To Set OpenFileDialog Initial Folder With a String

This code uses a string to set the initial folder of an OpenFileDialog.


.NET Script to Find Work Week Start and End

If you need to find the Monday of a given week or a Friday of a given week, this is the solution for you:


.NET Class to Export Query Results to Microsoft Excel

This class uses an ODBC connection to create an Microsoft Excel Workbook from the results of a Microsoft SQL query.


.NET Class to Read XML Config File

There are some instances where you may need your dll to have its own .config file. Of course, the .NET framework only uses a config file for the executing assembly (exe's) and not satalite assmeblies (dll's). Here is a class that can be used to read an XML file that follows the .config file schema: