List Remote Drives On A Computer

atomik_wolf

New member
Joined
Nov 4, 2006
Messages
1
Programming Experience
Beginner
To All,

I was toying around with this http://cdot.senecac.on.ca/projects/vncsharp/quickstart.html and am wondering about building a custom VNC app in VB.NET. I'm now able to establish a connection to a VNC server just fine; but unfortunately that control doesn't give me an option to establish file transfer.

So, I was wondering, is there any way through code to list the drives on a remote machine? I did very little reading on WMI; but I don't think that will work because I want to be able to access machines that I may not have admin rights to.

Is there any way in VB.NET I can get a list of drives from a remote machine? I am going to use a listview/treeview to display the drives and work from there. As the listeview/treeview is clicked on, I was just going to save the path in a string and then use

My.Computer.Network.DownloadFile or UploadFile

(from http://www.mredkj.com/vbnet/downloadfile.html)

to send and retrieve files.

What do you pros think? Any insight would be much appreciated!

-Randy
 
Back
Top