Login and get page

Ok, basically, I want an elaboration of this question:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21275141.html

Like, how do I login to a page (e.g. myspace.com), get the page source, click a link on that new page, get the source of the resulting page, send some form data, logout.

I'm not sure on the login part, cause if I try downloading the page by sending an encoded user and pass, I can't login, gives me an error about invalid login or something of the sort.
codemaster3Asked:
Who is Participating?
 
MasterThaiCommented:
http://www.ondotnet.com/pub/a/dotnet/2001/12/10/excelstocks.html?page=2 <-- good webbrowser control examplehttp://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1953&lngWId=10
<-- working example

using tcp or httpwebrequest will be a bit more difficult for you because you will have to handle cookies but the httpwebrequest has a built in function which handles cookies you just need to set/send the cookies with the request after login.
0
 
MasterThaiCommented:
You could use the webbrowser control or httpwebrequest or tcp sockets webbrowser control would probably be the easiest for you.
0
 
codemaster3Author Commented:
Care to elaborate?
0
 
codemaster3Author Commented:
Sounds fun :), I'll try it and see what I can come up with, thanks. I'll let you know how it goes.
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.