ricafilipe Posted November 17, 2009 at 10:25 PM Report Share #296731 Posted November 17, 2009 at 10:25 PM Bem, estou a tentar mostrar o captcha num programa mas o link da imagem é gerado aleatóriamente. Aqui está o link da imagem: <dd><input type="hidden" name="confirm_id" value="de81ca05eb9eb3822712f163ebba5f44" /><img src="./ucp.php?mode=confirm&id=de81ca05eb9eb3822712f163ebba5f44&type=2" alt="" title="" /></dd> O meu código é este: Dim htmle As HtmlElement For Each htmle In WebBrowser1.Document.GetElementsByTagName("Input") Select Case htmle.Name Case "value" End Select WebBrowser1.ScriptErrorsSuppressed = True Next Mas não faz nada. Até meti uma msg aseguir ao value só para confirmar se encontrou, mas mesmo assim não aparece nada. Não sei o que fazer. :\ Link to comment Share on other sites More sharing options...
ricafilipe Posted November 30, 2009 at 06:34 PM Author Report Share #298104 Posted November 30, 2009 at 06:34 PM alguem? Link to comment Share on other sites More sharing options...
ribeiro55 Posted November 30, 2009 at 06:43 PM Report Share #298105 Posted November 30, 2009 at 06:43 PM O ciclo corre alguma vez? Pergunto isto porque "Input" é diferente de "input". Não tenho como testar agora. Sérgio Ribeiro "Great coders aren't born. They're compiled and released""Expert coders do not need a keyboard. They just throw magnets at the RAM chips" Link to comment Share on other sites More sharing options...
ricafilipe Posted November 30, 2009 at 07:18 PM Author Report Share #298108 Posted November 30, 2009 at 07:18 PM corre Link to comment Share on other sites More sharing options...
ribeiro55 Posted November 30, 2009 at 09:13 PM Report Share #298121 Posted November 30, 2009 at 09:13 PM Então manda para o debug todos os ".Name" que apanhar. Só assim tens a certeza de estar à pesca do peixe certo. Sérgio Ribeiro "Great coders aren't born. They're compiled and released""Expert coders do not need a keyboard. They just throw magnets at the RAM chips" Link to comment Share on other sites More sharing options...
ricafilipe Posted December 1, 2009 at 03:31 PM Author Report Share #298234 Posted December 1, 2009 at 03:31 PM O que eu quero fazer é copiar o que está dentro do value. Neste caso, de81ca05eb9eb3822712f163ebba5f44. Mas não sei como. Link to comment Share on other sites More sharing options...
billroots Posted February 20, 2015 at 08:51 AM Report Share #577634 Posted February 20, 2015 at 08:51 AM Estou com mesmo problema pode me ajudar Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now