I am creating code to open website in vb.net and passing the use name and password to that site. But I got error " Logon failure: unknown user name or bad password"
This is my code. What's wrong in that
Dim domain As String = "google.com"
Dim username As String = "Username"
Dim password As New System.Security.SecureString
Dim plainPassword As String = "password"
For Each c In plainPassword.ToCharArray
Process.Start("C:\Program Files\Internet Explorer\iexplore.exe", "https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/?tab%3Dwm&scc=1<mpl=default<mplcache=2", username, password, domain)
Should that %3D be there?
are you URLEncoding the &tab parameter value?
maybe that should be &tab=wm instead of &tab=%3Dwm
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)