Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Network drive
Message
From
09/06/1999 15:31:59
Gordon Evans
Megabyte Computer Services Ltd
Sheffield, United Kingdom
 
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00226934
Message ID:
00228101
Views:
33
>>If my development computer can see the network neighbohood why can't the VB drive control?
>
>Well, drive control uses drives related Windows API (ie physical peripherals) whereas network neighborhood uses the Network API (from Novell and NT services for example, or any network).
>
>Drives related Windows API doesn't support UNC names since it's designed in reference to old Win16 standalone machine functions, wher each resource is known physically, ie A:, C:, D:,...
>
>If you want to see Network resources you'll have to use the API that fit your needs instead of the drive control OCX.
>
>Here you'll find a goo example of using the API :
>
>http://members.aol.com/btmtz/vb/browsdlg/index.htm
>
>HTH
Thanks for the information, just down loaded the sample.
Very useful, it will take a while for me to work out what does what.
In Foxpro I can get all mapped drives with =getdir()

Gordon.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform