WebBrowser with Frames in Website

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to write a vb.net program to allow me auto login this site
http://www.ogame.org while it seems I could not get the right element to do
"submit" action. I could not access the frame in it.
Anyone can give help, thanks.
 
Rob,

If you want to access the frame than you have to know the url name of is.

Because in this case the webbrowser is getting a collection of documents, do
you first have to make the code arround that. (Needs the download complete
etc)

Cor
 
I have written some code in my WinDev Project...

Hope it can help you.

http://www.ogame.org/portal/?lang=org&frameset=1 is the right website to
log in.

Read the Result .htm file in a buffer. Read the timestamp and the v
hidden input fields.

call the /game/reg/login2.php for the right Uni... such as for the
"Universe 27" ogame601.de. with the parameters
?Uni=ogame601.de&login=*Username*&pass=*password* and pass with get the
Parameters timestamp and v

now in the next html-buffer you can read out the sessionid...

store it and you can access all the ogame websites... such as
http://ogame601.de/game/index.php?session=*session stored*
 
Back
Top