Results 1 to 11 of 11

Thread: pop up box

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    A pub that sells Kronenburg
    Posts
    116

    pop up box

    hi,

    i need some vb code that will access a website by inserting a username and password in a pop up box.

    how can this be done?

  2. #2
    Lively Member d4v3's Avatar
    Join Date
    Nov 2001
    Location
    Leicester, UK
    Posts
    82
    Use an API to find out when the login box pops up and then just use SendKeys, but the box will have to look the same each time else sendkeys might send to the wrong box!

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    the authentication box?

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    A pub that sells Kronenburg
    Posts
    116
    it will always remain the same, do you have any example code?? this is my first time attempt

  5. #5
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    what do you mean it will always be the same?

  6. #6

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    A pub that sells Kronenburg
    Posts
    116
    Use an API to find out when the login box pops up and then just use SendKeys, but the box will have to look the same each time else sendkeys might send to the wrong box!
    the pop up box will always look the same

  7. #7
    Member TheGuru's Avatar
    Join Date
    Dec 2001
    Posts
    57
    Someones trying to crack into a porn site...

    /me snickerz :P

    Just look at the inet control, its got a thing for authorization.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Location
    A pub that sells Kronenburg
    Posts
    116
    i wish.....

    does anybody have any example code please.

  9. #9
    Member TheGuru's Avatar
    Join Date
    Dec 2001
    Posts
    57
    or I'm thinking of the LWP mod in perl.. ummm think its inet control in vb

    /me turns on vb....

    Yea its inet

  10. #10
    Lively Member d4v3's Avatar
    Join Date
    Nov 2001
    Location
    Leicester, UK
    Posts
    82
    if its htaccess then just use

    Sendkeys ("username" & vbtab & "password" & vbenter)

    should work?

  11. #11
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    arguable...

    those things - i have found them to be dodgy

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