Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to access a password protected network folder?
Message
 
To
30/05/2004 01:53:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00908540
Message ID:
00908631
Views:
20
In your application, map to the drive using Windows Scripting, and send the user name and password as parameters.
oNet = CreateObject("WScript.Network")    
oNet.MapNetworkDrive("I","\\myserver\myFiles",.T.,"username","password")
>how can i access a password protected network folder in vfp 6.0???
>
>can i do use table without errors? or should i enter the password programmatically in my application?
>
>i put read/write access in the network folder where my tables are kept. but even if i do this, users' with these rights can still open the folder and probably mess up with my tables.
>
>pls help.
Previous
Reply
Map
View

Click here to load this message in the networking platform