I want to launch a few websites in IE automatically and fill up user ids and passwords.
I know how to launch by using
Process.Start("IExplore.exe", www.google.com)
Now, can I go a step further and input those user ids and passwords automatically
Thanks,
Antonio

Launch IE and input data
Dennis_K
Hi,
I have been working for some time on this without success.
I am trying to make the Process.Start method work. (The webbrowser control, I think, is not what I need)
The specific method that seems that would work is:
Process.Start Method (String, String, String, SecureString, String)
I would use something like
Process.Start Method ("iexplorer.exe", "www.mywebsite.com", "user ID", "SecureString for password", "domain String")
Two issues:
1. How do I input a SecureString with my password
2. What do I use for domain string if I am in a network without a domain
Can anybody show a code sample of how to do this
Thanks,
Antonio
Carson Holmes
Please see:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=166883&SiteID=1
Author: Paul Domag
slavalit
ok, i think I hope I am getting closer.
I believe I can now generate the secure password.
I get error with the domain, I am within a workgroup and I have tried the name of the workgroup or blank
Public
Sub main() Dim ss As New SecureString()ss.AppendChar("p"c)
ss.AppendChar("a"c)
ss.AppendChar("s"c)
ss.AppendChar("s"c)
Process.Start(
"IExplore.exe", "http://login.yahoo.com/config/login", "userid", ss, "") End Subsaar
I don't think I'd doit this way at all. I would not attempt this with IE itself.
The best way to proceed is with the WebBrowser control.
Have it navigate to the url.
In the Naigated Event handler after ascertaining you are on the right page...
There are a couple ways you could proceed. The easiest is to use sendkeys.
The more elegant way to to use DOM programming or MSHTML to find the input elements representing the username and password input element and writing to them them firing it's OK button.
klem182
The webrowser control is actually a sibset of IE. The control will do almost everything IE will. However, it's not going to help you with IE :(
GabeOSM
Hi Renee,
Thank you for your help.
I know how to use the webbrowser control to create my own browser and navigate with it.
However, I do not want to create my own browser. I want to stay with IE
Can the webbrowser control be used with IE
Thanks,
Antonio