Jump to content

using c# to login on a website

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
lordwittie

lordwittie

    Newbie

  • Members
  • PipPip
  • 17 posts
hi,

I would like to login on a website (for example megaupload.com) with my account details. I can do this in php, but would like some help with doing this in c# I am working on a windows based form (if this matters somehow) and would like some help how I can connect to internet and login on megaupload.com

any help is greatly appreciated!

LW

#2
twiztah088

twiztah088

    Newbie

  • Members
  • Pip
  • 2 posts
First you nid a control for web..drag it in your form..then for example the name of control is webControl
use his method navigate. it will look like webControl.navigate("megaupload.com") or webControl.navigate = "megaupload.com"..check which work..
then you nid the cursor focus is in the textbox for username use the method sendkeys("\t") to send tab in the webControl so that the focus will go to textbox then it will automatically type your username then send tab again so that it will type your password then send enter to login..i use this in logging in my facebook automatically