Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Login

Status
Not open for further replies.

Mute101

Programmer
Jun 28, 2001
428
GB
Hi all,

I have a need for one of my systems to programatically log into a secure PC to retrieve files and then to log out again. I have looked through the FAQ's and searched for it but I can't find anything pertaining to this problem. I'm comfortable with having the windows username and password used in the code so I'm sure this must be possible?

Can someone point me in the right direction?

Many thanks
Simon

----------------------------------------
I realised I was dyslexic when I went to a toga party dressed as a goat.
----------------------------------------
 
With Microsoft Script Runtime referenced take a look at the WshNetwork object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Hmm,

I don't seem to have an WshNetwork object available in the Scripting library. Im running Access 2002 SP3 and I cant find anything about Windows Scripting Host in the help files :(

I presume you didn't mean I had to use WScript outside of the Access environment?

----------------------------------------
I realised I was dyslexic when I went to a toga party dressed as a goat.
----------------------------------------
 
Erk,

As is tradition with me on Tek Tips I have discovered the answer just after posting.

The correct reference is: Windows Script Host Object Model.

Many thanks for your help PHV, much obliged :)

----------------------------------------
I realised I was dyslexic when I went to a toga party dressed as a goat.
----------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top