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

automatic logon to IE from NT

Status
Not open for further replies.

ratman

Technical User
Jun 26, 2000
143
0
0
US
Looking for the get commands (?) for use in automatic logon to IE from NT.

GetUserName and GetPassword.....?.....wish it was that simple.

I will continue to read the help files.
It will then put the allow the following to run without the NT user prompt for IE username and password.
----------------------------------------------------------------------
Private Declare Function ShellExecute Lib _
"shell32.dll" Alias "ShellExecuteA" _
(ByVal hWnd As Long, ByVal lpOperation _
As String, ByVal lpFile As String, ByVal _
lpParameters As String, ByVal lpDirectory _
As String, ByVal nShowCmd As Long) As Long


Sub Picture186_Click()

ShellExecute 0&, vbNullString, " vbNullString, _
vbNullString, SW_SHOWNORMAL
End Sub


Thanks,

:)
ratman
 
You can't retrieve a username and password from NT. No such API call (security risk, I suppose). If you're trying to specify the credentials for an external site, you can shell to something like:



===========================================
Free small footprint web server for Windows
Browse Excel shared workbooks over the web!
===========================================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top