Results 1 to 6 of 6

Thread: Logging into a Website through a Visual Basic App

  1. #1
    MurphmanL
    Guest

    Logging into a Website through a Visual Basic App

    Is it possible using the Login Boxes in Visual Baisc, to log in a user to a specific website, eg:
    If i wanted to login to hexus.net and i put my Username as MurphmanL and pass as : eggs (thats an example btw ) and then hit ok, would there be possible code so then hexus would recognize me as logged in, wihout loggin in on the actual site itself? If this is possible and anybody knows the code, i would really appreciate it if they would contact me asap as i would really need this if its a posisble function

  2. #2
    Put him in the curry! Rythmic's Avatar
    Join Date
    Jul 2003
    Location
    Twyford, Berks
    Posts
    758
    Thanks
    1
    Thanked
    0 times in 0 posts
    Yup - it is possible - have a look at the MSXML4 documentation (if you haven't got the platform SDK, get it here: http://www.microsoft.com/msdownload/...sdk/sdkupdate/ ).

    Theres an object in there called IXMLHTTPRequest. Too much detail too really go into here, but you basically need to just set the HTTP Headers with your username and password.

    If you need more help - let us know, and I'll dig out the code from the last time I did this.

    Regards
    Now go away before I taunt you a second time.

  3. #3
    MurphmanL
    Guest
    Some more help would be great, I need this code to work for quite a few users tho so please PM me the code, with some instructions if possible

  4. #4
    Put him in the curry! Rythmic's Avatar
    Join Date
    Jul 2003
    Location
    Twyford, Berks
    Posts
    758
    Thanks
    1
    Thanked
    0 times in 0 posts
    Just leaving work now, so will PM you some code tomorrow morning (it's in a CVS respository somewhere and I've had enough for a Monday )
    Now go away before I taunt you a second time.

  5. #5
    MurphmanL
    Guest
    Ok thanks I look forward to recieving the code

  6. #6
    Put him in the curry! Rythmic's Avatar
    Join Date
    Jul 2003
    Location
    Twyford, Berks
    Posts
    758
    Thanks
    1
    Thanked
    0 times in 0 posts
    Should have got it by now! Let me know how you get on
    Now go away before I taunt you a second time.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Visual Basic Help! Web Browser.....
    By DeludedGuy in forum Software
    Replies: 3
    Last Post: 07-05-2004, 07:32 PM

Posting Permissions

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