craigphillips2
08-25-2002, 03:57 PM
How do i make the root of the treeview start with Desktop and descend into My Computer, C Drive, D Drive, CD Rom etc.???
TreeView (populating with My Computer contents)craigphillips2 08-25-2002, 03:57 PM How do i make the root of the treeview start with Desktop and descend into My Computer, C Drive, D Drive, CD Rom etc.??? ChiefRedBull 08-25-2002, 05:05 PM You have to read the values from disk, then add them to the treeview - it won't do it automatically. You can use Dir$() to traverse normal files and directories, search the forum and the Knowledge Base section for lots of examples. craigphillips2 08-25-2002, 06:27 PM I realised i had to do it manually, but My Computer doesnt exist as a root folder and desktop is in c:\%windows%\desktop. How do i make it start with desktop?? Flyguy 08-26-2002, 02:03 AM Have a look at the code sample in this thread: http://www.visualbasicforum.com/showthread.php?s=&threadid=17586&highlight=treeview |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum