Rob Kraft's Software Development Blog

Software Development Insights

Archive for the ‘Visual Studio 2008’ Category

ResXFileCodeGenerator is obsolete in Visual Studio 2008

Posted by robkraft on March 6, 2008

I recently attempted to use the ResXFileCodeGenerator tool that was developed to allow my DLLs to access the internally scoped resource file contents of another DLL.  I experienced problems because I upgraded my solution to Visual Studio 2008 and I could not find a 2008 version of ResXFileCodeGenerator.  However, I discovered that I don’t need that tool any longer.  In VS 2008, you can now simply define your resources as public by selecting the public scope in the new dropdown at the top of the resource editor window.

This is one more tiny benefit of upgrading from VS 2005 to VS 2008.

Posted in Visual Studio 2008 | Tagged: , | 2 Comments »

Free program to allow blocked outlook attachments

Posted by robkraft on December 25, 2007

I wrote my first WPF program yesterday.  The simple program allows you to unblock attachments in Microsoft Outlook.  Because this program relies on Microsoft’s new WPF technology, you must install the .Net 3.5 framework on your computer to run it.

The program gives you a list of file extensions from which you can choose for Microsoft Outlook to allow.  The program reads and writes to the registry of the local computer.  The program works for Outlook verions 9,10,11, and 12 (Outlook 2000 through 2007).

The program is based on  It helps you get past this message “Outlook blocked access to the following potentially unsafe attachments”.

Please be aware that files with these extensions are blocked to prevent harm to your computer.  If you need to unblock an extension in order to receive a file you trust, I recommend you re-block that extension after you have received the file.  You will need to stop and restart Outlook after making a change.

Note that the settings on your Exchange server may still prevent you from receiving the file in Outlook.

My program can be downloaded from this page:

I am working on a version that does not require .Net 3.5 (wpf).  It will just require .Net 2.0.

Posted in Outlook Utility, Visual Studio 2008 | Tagged: , , , , | 1 Comment »

Are you missing the controls in the toolbox for Visual Studio 2008?

Posted by robkraft on December 21, 2007

I downloaded Microsoft Visual Studio 2008 Express Edition (C#), installed it, and rebooted my computer.  Then I immediately went to create my first WPF application in VS2008.  I was challenged initially by the lack of controls available in my toolbox.  All of the controls were disabled.  So I went to Tools, Choose Toolbox Items, and enabled the few I wanted to start playing with (in the WPF components tab).  However, they were still disabled.
I exited Visual Studio, restarted Visual Studio, and all the controls were now available, and have been ever since.  I don’t know why they weren’t there the first time I ran the product.

Another possible reason that the controls are not enabled is simply that you need to click on the XAML form.  If your mouse is in the raw XAML window, the controls will not be enabled.

Posted in Visual Studio 2008 | Tagged: , | 11 Comments »