Auto-login to winkflash.com

Can someone help me write a script, using VB6, to auto-login to winkflash.com?

I would tell you everything I've tried, but why muddy the water?
hrolsonsAsked:
Who is Participating?
 
nffvrxqgrcfqvvcCommented:
Try using this approach.. If you use Webbrowser just change accordingly
Option Explicit
 
Public Sub LoginWinkFlash(ByVal szUserName As String, ByVal szPassword As String)
  
  Dim IE As Object
  Set IE = CreateObject("InternetExplorer.Application")
  IE.Visible = True
  IE.Navigate "http://www.winkflash.com/photo/signin.aspx"
  ' Wait for the page to load.
  Do While IE.Busy Or IE.ReadyState <> 4
    DoEvents
  Loop
  ' Login
  IE.Document.getElementById("userid").Value = szUserName
  IE.Document.getElementById("password").Value = szPassword
  IE.Document.getElementById("Button1").Click
  
End Sub

Open in new window

LoginWinkFlash "username", "mypassword"

Open in new window

0
 
hrolsonsAuthor Commented:
eql1044, that works brilliantly, I should have been more clear and will open up a new question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.