Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mapping a drive from a COM server
Message
 
À
16/05/2005 13:25:43
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
01014599
Message ID:
01014673
Vues:
22
>>Drive mappings work on a per-user basis. The COM object probably runs as a System user so it will not see "your" drive mappings (from your personal profile). It's always better to provide the proper UNC path (\\MyServer\) instead of mapping to a drive.
>
>Thanks, this approach is much better.

Well not necessarily. Drive Mapping is much faster than UNC lookups because UNCs are looked up over and over again, so there's more overhead. This may or may not matter much...

If you're not logged on as Interactive the user's drive mappings won't show up, but you can use a couple of WinApi calls to set up your own drive mappings in the current session as part of the startup routine.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform