Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Network drive
Message
De
09/06/1999 15:31:59
Gordon Evans
Megabyte Computer Services Ltd
Sheffield, Royaume Uni
 
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Divers
Thread ID:
00226934
Message ID:
00228101
Vues:
32
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform