N/APosted on - 10/20/2012
How to create advanced login script vbs. I am using visual basic script for my log in form in vb, but suddenly there is some problem about the coding. Can you give me some example codes for log in information? Even just a little information or coding instruction will do. Thank you.
How to create advanced login script vbs.
Here is a simple code snippet on VB which i have written to create advanced login script on vbs. Below is the code which i think should work:
Set objNetwork = WScript.CreateObject("WScript.Network")
strLocalDrive = "L:"
strRemoteShare = "\servershare_name"
strPer = "FALSE"
strUsr = "username"
strPas = "password"
objNetwork.MapNetworkDrive strLocalDrive, strRemoteShare, strPer, strUsr, strPas
Hope you can work further on it.