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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show Windows logon dialog

Status
Not open for further replies.

jpayn05

Technical User
Dec 31, 2007
11
US
Hello,

I'm hoping someone can help me with the following. I've searched both online and this forum and can't find an answer or have missed it somehow.

I have a vbscript that connects to an Access db on a file server and writes data to a table. Everything works fine until we lose our network connection.

I made a work around that displays a message if the Access file can't be found. But I'd rather be able to detect the network connection and if it doesn't exist call or show the standard Windows network logon dialog.

I've found several auto-login scripts and several scripts to connect/disconnect network drives. But none of these is exactly what I'm looking for. This makes me think it may not be possible. I'm hoping someone may be able to help. Sorry for the long post. Thanks in advance.

Jack
 
it might be simpler to just display an InputBox to grab the username and then a 'password' specific inputbox for the password (this is one which has the text **** out as someone types into it)
 
are there any SENDMESSAGE things that can be done? there is a rundll32 type of command line which can use SENDMESSAGE stuff, i have seen it discussed for topics like 'how to tell windows that the desktop background has changed'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top