vb.net - Google Account Registering Bot -


thanks spending time on post.

i'm experiencing easier way create google account, , apparently there no google account creating bot or such thing that, decided write 1 self.(well, it's not actual bot, asks manually enter captcha.) had problem when setting value of combo box , when grabbing captcha image picture box.....

here's part of code(where error occurred):

    'webbrowser1 has been navigated "https://accounts.google.com/signup?continue=https:%2f%2faccounts.google.com%2fmanageaccount" private sub webbrowser1_documentcompleted(sender object, e webbrowserdocumentcompletedeventargs) handles webbrowser1.documentcompleted     dim r system.random = new system.random     'sets value of other textboxes     webbrowser1.document.getelementbyid(":0").innertext = monthselect(r.next(1, 12))     webbrowser1.document.getelementbyid(":d").innertext = genderselect(r.next(0, 1))     captcha.imagelocation = webbrowser1.document.getelementbyid("recaptcha_chanllenge_image").getattribute("src") end sub  public function monthselect(mon integer)     'generates month end function  public function genderselect(gen integer)     'generates gender end function 

and nullreferenceexception occurred in these 3 lines...

    webbrowser1.document.getelementbyid(":0").innertext = monthselect(r.next(1, 12))     webbrowser1.document.getelementbyid(":d").innertext = genderselect(r.next(0, 1))     captcha.imagelocation = webbrowser1.document.getelementbyid("recaptcha_chanllenge_image").getattribute("src") 

what's wrong?


Comments

Popular posts from this blog

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -