Question Console Application Help please!

imrare

New member
Joined
Feb 14, 2010
Messages
4
Programming Experience
Beginner
Hey guys
i know im not new to this forum but from first glance its excellent.
I ran across a little problem earlier and was hoping one of you could help me out please.
I have a console application which was working perfect untilll a captcha code was added to the website. So then i needed a way to get teh captcha from the website and allow it to be inputted via vb.net

i managed to make this code which as it seems works perfect

Public Class Form1

Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, ByVal URL As Object)
WebBrowser1.Width = 4500
WebBrowser1.Height = 4000
WebBrowser1.Document.All("captcha").Focus()

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Document.GetElementById("captcha").InnerText = TextBox1.Text
End Sub
End Class

So now i need a way to input this into my program which has been patched but seeing as thought that is a Console application and im a complete newbie to vb.net i dont know how to add this to that
Ive heard its not possible and that i would have to recode that to GUI
the original program

So guys can any of you help me out im willing to pay, if u want?

So what i need help with

1)How to add the code above to my program which is coded in vb.net and is a console application.

2) If this is not possible how could i recode the console application to make it GUI

Please guys any help is appreciated, and i would be willing to pay, reply to this thread or contact me on msn which would be easier
 
Last edited by a moderator:
Back
Top