[Source - VB.Net] Connection to Darkorbit

03/26/2013 18:12 shamv55#1
For this we need:

* Webbrowser
* 2 Textbox
* 1 Button
===============================================
VB.NET

01. Dim didWeNavigated? As Boolean = False
02. Dim gottheserver? As Boolean = False
03. Public Property ScriptErrorsSuppressed As Boolean
===============================================
Create a button and add the Click

VB.NET
01. WebBrowser1.Navigate("http://www.darkorbit.com")
02. didWeNavigated = True
03. End Sub
===============================================
Now create a Webbrowser and you click to bring up the function in the code DocumentCompleted.

VB.NET

01. If didWeNavigated = False Then
02. Exit Sub
03. End If
04. If didWeNavigated = True Then didWeNavigated = False
05. Dim username As String = TextBox1.Text
06. Dim password As String = TextBox2.Text
WebBrowser1.Document.GetElementById("loginForm_def ault_username").SetAttribute("Value", username) WebBrowser1.Document.GetElementById("loginForm_def ault_password").SetAttribute("Value", password) WebBrowser1.Document.GetElementById("loginForm_def ault_loginButton").Focus()
WebBrowser1.Document.GetElementById("loginForm_def ault_loginButton").InvokeMember("click")
07. Dim htmlel As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("input")
08. Dim el1 As HtmlElement
09. End Sub
===============================================
03/26/2013 18:15 NoCheatImPGM#2
#Closerequest
Already exist on the forum.
03/26/2013 18:17 'Heaven.#3
Well, this is the wrong place for posting this... i think otherwhere is a better place ([Only registered and activated users can see links. Click Here To Register...]) .

You can also try to add the [php] and [ /php] tags, your code will look better and more structured.

Also you can try to move to HTTPWEBREQUESTS. its faster and better than a webbrowser control. you can finda tutorial [Only registered and activated users can see links. Click Here To Register...] and in the internet, just use google :)
03/26/2013 18:30 Joever11#4
Lol thanks for using my source...
As I said, don't post this without my permission
#Closerequest
03/26/2013 18:40 shamv55#5
sorry i did not know about that .........it was your post sorry bro:(
03/27/2013 07:36 Shad0wXx#6
suche das auch!
Da ich auch gerade an was am basteln bin!
03/27/2013 17:32 Arby#7
#moved