Phil Chapman
asked on
Identifying Drives
I have a vb6 application that runs on a remote desktop server.
I need to create a utility so the user can copy files back and forth from their local computer to the remote desktop server.
The users do not have access to the servers My Computer which shows both the users local and the remote desktop server’s drives.
If I use the vb6 DriveListBox it does not show the users local drives. How can I detect these drives?
I need to create a utility so the user can copy files back and forth from their local computer to the remote desktop server.
The users do not have access to the servers My Computer which shows both the users local and the remote desktop server’s drives.
If I use the vb6 DriveListBox it does not show the users local drives. How can I detect these drives?
If rdp is configured to map client drives, your app could use those drive letters. Would that work?
ASKER
it's is configured to to map client dirves. But how can i dentify the drive so I can copy files to and from it.
See screen show attached which shows how the drives look in My-Computer
Drives.jpg
See screen show attached which shows how the drives look in My-Computer
Drives.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I copied the path from MyComputer which is "\\tsclient\C\" for C: drive of the local computer and it works ok with DirListBox
Dir_B.Path = "\\tsclient\C\"
Dir_B.Refresh
DoEvents
File_B.Path = Dir_B.Path
File_B.Refresh
Thanks for the help thought
Dir_B.Path = "\\tsclient\C\"
Dir_B.Refresh
DoEvents
File_B.Path = Dir_B.Path
File_B.Refresh
Thanks for the help thought
Glad you got it working!