Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello All,

 

Looking for a way to show all the drives on my system.

 

Would like it to even show the folders graphicly.

 

Only want to beable to pic a drive or subdir nuthing else.

 

Can you all help?

 

Thanks

Guest mutant
Posted

To get all drives you need to use the directory class:

       Dim driv As System.IO.Directory
       Dim drivelist() As String 'the return value is an array so you need one
       drivelist = driv.GetLogicalDrives()

Guest mutant
Posted
What do you mean graphically? Like a treeview of the drive folder structure?
Posted

is there a way to custimize openfiledialog with just the drives and a ok button maybe a cancal button thats it?

 

thanks

Guest mutant
Posted
You cant inherit from OpenFileDialog so i dont think its that customizable.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...