index | search | no replies | posting guidelines | help | login | register |
Index » General » Site & Forum Feedback |
| |||||||
Mar 8 2006, 9:06 AM |
| ||||||
whichman from: Laurel, MD | The code below will work if you also have the image folders that come with the download. Try this file myexplorer.asp <!--#include file= "clsTreeView.asp"- -> <% 'declare and set your folder path Dim strFolder strFolder = "C:\InetPub\wwwroot" 'declare your treeview object Dim objTV 'create an instance of your treeview Set objTV = New TreeView 'set the treeview properties objTV.ImagesFolder = "images_xp" 'display contents Call objTV.DisplayFolderContents(strFolder) 'clear memory Set objTV = Nothing %> P/S: Remember that you can always update the sub routine ListFolderContents(objFolder,Parent) to hide some files and folders you want. ------------------------- Master of the Game | ||||||
Pages: (1) [1] |