VB6 - file list box / drive box question - resolving network paths and computer names 
Author Message
 VB6 - file list box / drive box question - resolving network paths and computer names

  Ive run into a problem Im not sure how to solve without using a common dialog box which I dont
want to use in this particular instance.  The problem is this:
        I have a DriveListBox and DirListBox in a form which work retrieve the drive and directory
for me from the user.  THe part that makes it a bit tougher is that a person may access this
locally or across the network.  The data is then put into a script to automate part of the overall
project.  Typically the user from across the network will access and choose what to use but the
actual automation will be run locally.  Therefore the mapped drives will be different.  Is there a
way I can use both of those controls and retrieve the proper computer name and shared drive like:
                        instead of d:\temp\data
                        I would like : \\evtd04\d\temp\data

and if I use that second path, when it runs locally will windows realize that it is local and not
try to go over the network (this path will contain large files like 100 megs in size)

appreciate any help,
sean



Mon, 02 Jul 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Network drives in a drive list box control

2. File List Box Problem on Network Drives

3. file list box problem across network drives

4. Drive/Dir/File List Box Question

5. Network Neighborhood in Drive List Box ??

6. Network Neighborhood in Drive List Box?

7. Drive List Box control from VB6 to VBA

8. Help wanted with file list boxes and list boxes

9. drive list box question

10. Reading Drive Settings (BIOS or Drive List Box)

11. Reading file name from text box and/or File List Box

12. Where are File, Drive, and Directory list boxes?

 

 
Powered by phpBB® Forum Software