Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login script for Win2k network in VFP (not VB)?
Message
 
 
To
11/07/2004 08:21:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00922425
Message ID:
00923121
Views:
27
Hi Rolf,

It's still not clear which part of login process you want to automate.
- You can use free Autologin utility from http://www.sysinternals.com/ntw2k/source/misc.shtml to make your PC to autologin to network. Keep in mind that it's security risk.
- WSH can be used to map network drives from within your application, for example
oNet = CREATEOBJECT("Wscript.Network")
oNet.MapNetworkDrive("V:", "\\Server\Volume\dir", .F., "UserName", "Pasword")
It's possible to shutdown Windows from within application as shown in How can I shut down or reboot Windows for all versions? FAQ #8009

>
>What i want to do is to be able to switch the machine on, then run away and be certain that the machine will have logged in to the server, in order to perform a scheduled backup operation (on the workstn) during the night.
>
>I might even want to have an automatis switch-off of the machine after the backup...
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform