Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping a drive from a COM server
Message
 
To
16/05/2005 13:25:43
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
01014599
Message ID:
01014673
Views:
21
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform