Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 09:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Source - VB.Net] Connection to Darkorbit

Discussion on [Source - VB.Net] Connection to Darkorbit within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 50
Join Date: Nov 2011
Posts: 81
Received Thanks: 8
[Source - VB.Net] Connection to Darkorbit

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
===============================================
shamv55 is offline  
Thanks
1 User
Old 03/26/2013, 18:15   #2
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,997
Received Thanks: 3,422
#Closerequest
Already exist on the forum.
NoCheatImPGM is offline  
Thanks
1 User
Old 03/26/2013, 18:17   #3
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
Well, this is the wrong place for posting this... i think otherwhere is a better place () .

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 and in the internet, just use google
'Heaven. is offline  
Thanks
2 Users
Old 03/26/2013, 18:30   #4
 
Joever11's Avatar
 
elite*gold: 1
Join Date: Oct 2012
Posts: 840
Received Thanks: 339
Lol thanks for using my source...
As I said, don't post this without my permission
#Closerequest
Joever11 is offline  
Thanks
2 Users
Old 03/26/2013, 18:40   #5
 
elite*gold: 50
Join Date: Nov 2011
Posts: 81
Received Thanks: 8
sorry i did not know about that .........it was your post sorry bro
shamv55 is offline  
Old 03/27/2013, 07:36   #6
 
elite*gold: 0
Join Date: Aug 2010
Posts: 48
Received Thanks: 1
suche das auch!
Da ich auch gerade an was am basteln bin!
Shad0wXx is offline  
Old 03/27/2013, 17:32   #7

 
Arby's Avatar
 
elite*gold: 83
Join Date: May 2011
Posts: 11,029
Received Thanks: 6,036
Arrow DarkOrbit -> Coding Releases

#moved
Arby is offline  
Reply


Similar Threads Similar Threads
[NEED] darkorbit remix version 3.9 source/source code
03/11/2013 - DarkOrbit - 5 Replies
Can you send to me the link of source/source code of Version 3.9 please?
Connection Closed [Snake's Source]
01/02/2013 - CO2 Private Server - 5 Replies
I'am using snake's source and I did all the changes of the ips and those stuff and then I clicked on CONQUER_ONLINE_SERVER.EXE and that appeared : Connection Closed. Load server configuration! ! and after it nothing appears "Connection closed" means there is something wrong I guess...
(Problem Connection Darkorbit)
07/12/2012 - DarkOrbit - 1 Replies
I can't play on my account (space map) When i click start the game load but later say establishing connection i wait 15 minutes establish connection and don't. My internet is good 30 mb the problem is the game. i send 4 times this reply to the game and say my put this numbers tickets for verifiction of email and i put and another email -.-Re: Ticket number 2012071210013222”:( My english is bad i know
[Request] a Simple Connection/setup Guide for 4267 Source
03/05/2010 - CO2 Private Server - 3 Replies
Okay, So I'm asking if someone could post a simple guide how to get 4267 running. I used search button, and didn't see any guides. Well, I saw one, but I'm having some errors while i'm trying to Pu that dot sql file in Navicat or phpMyAdmin.. some errors about Classes like mm 'Archer', '1', 0'. 5', <--- something like that, but gives me a plenty of errors for some reason. But Yeah, If someone could post a easy and simple guide, I'd appreciate.



All times are GMT +1. The time now is 09:10.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.