Click here to Skip to main content
16,005,389 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2821-Jun-04 8:31
tanstaafl2821-Jun-04 8:31 
GeneralRe: Windows Explorer Type TreeView Pin
Brad Fackrell21-Jun-04 8:39
Brad Fackrell21-Jun-04 8:39 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2821-Jun-04 9:07
tanstaafl2821-Jun-04 9:07 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2821-Jun-04 9:14
tanstaafl2821-Jun-04 9:14 
GeneralRe: Windows Explorer Type TreeView Pin
Brad Fackrell21-Jun-04 9:43
Brad Fackrell21-Jun-04 9:43 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2821-Jun-04 12:20
tanstaafl2821-Jun-04 12:20 
GeneralRe: Windows Explorer Type TreeView Pin
Brad Fackrell21-Jun-04 13:00
Brad Fackrell21-Jun-04 13:00 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2822-Jun-04 4:06
tanstaafl2822-Jun-04 4:06 
Brad, I have another idea for you. It was one of those things where I wasn't looking for anything in particular, but I was thumbing through my copy of Windows XP Annoyances when I came to a section called: "Turn File Icons into Thumbnail Previews." The instructions are straightforward:

Open Explorer, and locate any folder that contains at least one graphic image file (.jpg, gif, or bmp). Select Thumbnails from the View menu (This option may not be available unless you have Internet Explorer integration disabled). Select one of the other view modes (such as details or Large icons) to resture the display to normal.
If you've configured Explorer to display hidden files, you'll notice a new hidden file thumbs.db (which contains the thumbnail data), in any folder you view. As long as this file is present, the folder's view will always be set to Thumbnails. If you delete the file, and then re-open the folder, it should be back to the standard details or large icons view.

Windows XP Annoyances pp 147-48.

Everything but the last part works in 2k (I have view hidden files and folders and I don't see that thumbs.db anywhere), so all you need to do is find a way to programmatically mimic this and you'll be good to go.

There is also some mention of looking in the registry for HKEY_CLASSES_ROOT\Paint.Pictures\
DefaultIcon and changing the default value to %1. This seems to apply to bitmaps only, but there has to be an iconic reference in the registry for other graphical files as well.

I was thinking that there is a way to filter file views by specific types in VB.NET, if this can be combined with the listview/treeview commands and then the above thumbnail info included, you'd be good to go.

Oh, and Annoyances.org is the Windows Annoyances website, lots of good references and ideas on how to figure out built-in Windows functions and how to access them there.

Still coaxing software out of the can after all these years...
GeneralRe: Windows Explorer Type TreeView Pin
Brad Fackrell22-Jun-04 4:34
Brad Fackrell22-Jun-04 4:34 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2822-Jun-04 9:25
tanstaafl2822-Jun-04 9:25 
GeneralRe: Windows Explorer Type TreeView Pin
Brad Fackrell22-Jun-04 9:37
Brad Fackrell22-Jun-04 9:37 
GeneralRe: Windows Explorer Type TreeView Pin
tanstaafl2822-Jun-04 10:42
tanstaafl2822-Jun-04 10:42 
GeneralTrying an Excel Interop Pin
tanstaafl2818-Jun-04 7:57
tanstaafl2818-Jun-04 7:57 
GeneralRe: Trying an Excel Interop Pin
tanstaafl2818-Jun-04 8:18
tanstaafl2818-Jun-04 8:18 
GeneralRe: Trying an Excel Interop Pin
Dave Kreskowiak18-Jun-04 8:34
mveDave Kreskowiak18-Jun-04 8:34 
GeneralRe: Trying an Excel Interop Pin
tanstaafl2818-Jun-04 9:05
tanstaafl2818-Jun-04 9:05 
GeneralRe: Trying an Excel Interop Pin
Dave Kreskowiak18-Jun-04 9:06
mveDave Kreskowiak18-Jun-04 9:06 
GeneralRe: Trying an Excel Interop Pin
tanstaafl2818-Jun-04 9:09
tanstaafl2818-Jun-04 9:09 
GeneralRe: Trying an Excel Interop Pin
tanstaafl2819-Jun-04 7:23
tanstaafl2819-Jun-04 7:23 
Generallong hyperlink for shellexecute with mailto Pin
skoizumi2911018-Jun-04 7:18
sussskoizumi2911018-Jun-04 7:18 
GeneralTreeView to a ListView Pin
Brad Fackrell18-Jun-04 4:17
Brad Fackrell18-Jun-04 4:17 
GeneralRe: TreeView to a ListView Pin
Dave Kreskowiak18-Jun-04 4:51
mveDave Kreskowiak18-Jun-04 4:51 
GeneralRe: TreeView to a ListView Pin
Brad Fackrell18-Jun-04 5:06
Brad Fackrell18-Jun-04 5:06 
GeneralRe: TreeView to a ListView Pin
Brad Fackrell18-Jun-04 5:29
Brad Fackrell18-Jun-04 5:29 
GeneralAnti SQL Injection Helper Pin
Jim Taylor18-Jun-04 3:55
Jim Taylor18-Jun-04 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.