Results 1 to 6 of 6

Thread: Login without webbrowser?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    Login without webbrowser?

    Hi,

    I have searched google and couldnt find any answer. Is it even possible to login to a website using background worker without having to use webbrowser?

    Thank you
    Last edited by simon66; Mar 11th, 2010 at 02:04 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Background worker login?

    The BackgroundWorker is irrelevant. All the BackgroundWorker does is allow you to execute code is a secondary thread without having to mess with delegates directly.

    If you want to perform web-related operations then you use a WebClient for simple tasks and an appropriate WebRequest, e.g. HttpWebRequest, when you need more control.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    Re: Background worker login?

    Quote Originally Posted by jmcilhinney View Post
    The BackgroundWorker is irrelevant. All the BackgroundWorker does is allow you to execute code is a secondary thread without having to mess with delegates directly.

    If you want to perform web-related operations then you use a WebClient for simple tasks and an appropriate WebRequest, e.g. HttpWebRequest, when you need more control.

    So I can use HttpWebRequest to login to a webpage with out a webbrowser?

    or is the "tricks" in how to do it. Can find a possible solution.

    Thank you

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Background worker login?

    Quote Originally Posted by simon66 View Post
    So I can use HttpWebRequest to login to a webpage with out a webbrowser?

    or is the "tricks" in how to do it. Can find a possible solution.

    Thank you
    No, it's not possible. I only posted that for a joke. Then again...

    http://www.google.com.au/search?q=lo...ient=firefox-a
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    Re: Background worker login?

    Quote Originally Posted by jmcilhinney View Post
    No, it's not possible. I only posted that for a joke. Then again...

    http://www.google.com.au/search?q=lo...ient=firefox-a

    Im not if your being sarcastic or what but then, I read those articled and only found codes that needed improvements(they were wrong) plus it get the website source code. Not sure how I can use that you type in the password and login.

    Thanks

    Help is still needed tough.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    297

    Re: Login without webbrowser?

    Bump!

    Any one?

Posting Permissions

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



Click Here to Expand Forum to Full Width