asarhu 0 Newbie Poster

I am trying to create a program that automatically logs me in a certain website, e.g.: Gmail.
I am using the browser control in vb6.

What I'm trying learn is how to connect my commandbutton to the web page's login button script.

Anybody can help me?