There is a VB.NET windows forms app, and a C# Class Library (so you need both to run this)
The C# library is a wrapper to using the OpenFileDialog control via unmanaged code in order to customize the OpenFileDialog. In the example, the dialog is looking for text files, and when you select a textfile, the openfiledialog will display a preview of it right in the dialog. You can apply this to anything really, like showing a picture preview when opening picture files etc...
So anyway, it works fine and all, however I have 2 issues with it:
1) It does not open as a dialog, but rather just as a standard window. It should open modal like the .NET openfiledialog (or the VB6 one for that matter)
2) It puts itself in the taskbar when its opened, which it shouldn't do. This issue may actually resolve itself if I can get it opening as a dialog (#1)
Any thoughts? I looked through the help files on MSDN for this structure, but I did not see any flags indicating a way to set it modal or not.