Jump to content

  •  

  • iBotModz CBox


    decrypT

    Member Since 04 Aug 2010
    Offline Last Active Aug 14 2010 01:00 AM
    -----

    Posts I've Made

    In Topic: C# Loading reCaptcha into a imagebox

    09 August 2010 - 05:12 PM

    Posted Image

    • Click on your webBrowser (If its a hidden one select it from the dropdown)
    • Click the lightning bolt to bring up events
    • Double click on DocumentCompleted
    • That will move to your code and form the function
    Looks like this.

    Posted Image


    You cannot just type that out, you gotta do all the steps to insure the handler picks up the event.


    yeah i threw the getelements/names in that document completed method.

    webBrowser1.GetElementById("ID HERE").SetAttribute("value", fdsfs.Text);

    But i was wondering how i could reload the captcha after each entry. Using an if loop i guess.

    In Topic: C# Loading reCaptcha into a imagebox

    08 August 2010 - 02:08 AM

    Use the webbrowser event of like doneLoading, so anytime it is refreshed and re-loaded that portion of code will be re-ran so you then can call your reCaptcha code or just include it in there.



    Does your bot use getElementByID? I think it conflicts somewhere and there is one variable you have to re-init, but I can't remember why or which one.


    Yes, it uses getelementbyid and by name. Also, the doneLoading event, is that just like.

    if(webBrowser1.doneLoading)
    {
    Code for regrabbing the catpcha
    }
    ?

    Thanks for the reply.

    In Topic: C# Loading reCaptcha into a imagebox

    07 August 2010 - 03:36 AM

    Quick bump.

    Still in need of some help.

    In Topic: C# Loading reCaptcha into a imagebox

    04 August 2010 - 01:52 AM

    I need some help with the captcha's

    How would i make the application re-grab the captcha if the page is refreshed?

    Also, it seems like my app doesn't grab the captcha if my bot's forms are filled.

    Like, my bot has textboxes that submit a form on a webpage. If my bot's textboxes are filled and sent to the webpage, it won't grab the captcha, however if the boxes are left empty, the captcha is grabbed.

    Any help would be awesome!


    --decrypT