Results 1 to 4 of 4

Thread: How to Login to a website without using webbrowser

  1. #1
    Hyperactive Member marniel647's Avatar
    Join Date
    Aug 10
    Location
    MSDN Library
    Posts
    256

    How to Login to a website without using webbrowser

    Hi just wanna ask if i can get an element to the website and send data without using webbrowser control.

    I dont want to have webbrowser in my form.
    It will be possible.?

  2. #2
    Fanatic Member AceInfinity's Avatar
    Join Date
    May 11
    Posts
    585

    Re: How to Login to a website without using webbrowser

    Yeah, I've done it many many times. Make an HTTPWebRequest and send the relevant POST data. You need a CookieContainer to store the session as well for after the POST data is sent for authentication.
    <<<------------
    < Please rate my post if this helped you out. Any kind of thanks is gladly appreciated >



    VB Programming (2012 - Present)
    ®Crestron - DMC-T Certified Programmer | Software Developer
    <<<------------

  3. #3
    Hyperactive Member marniel647's Avatar
    Join Date
    Aug 10
    Location
    MSDN Library
    Posts
    256

    Re: How to Login to a website without using webbrowser

    ok thanks for the reply maybe i need to understand first the HTTPWebRequest.

  4. #4
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,533

    Re: How to Login to a website without using webbrowser

    Then use the Help system. It's what it's there for!

    http://msdn.microsoft.com/en-us/libr...ebrequest.aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •