Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login script for Win2k network in VFP (not VB)?
Message
 
 
À
11/07/2004 08:21:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00922425
Message ID:
00923121
Vues:
26
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform