|
You last visited: Today at 13:38
Advertisement
Changing a Url
Discussion on Changing a Url within the .NET Languages forum part of the Coders Den category.
06/18/2012, 19:16
|
#1
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Changing a Url
im using vb 2008 and how can i make that in textbox the text changed with the selected text. ex.=elitepvpers.com if in textbox write=com then it auto change it too=elitepvpers.com how can i do it ? i see anyplace that in google but i dont find it how to do {0} something that but i dont understand can anyone help please ?
if its wrong place please move
|
|
|
06/19/2012, 00:58
|
#2
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
iam right with this:
If you write "com" in a Textbox, the text from the Textbox change from "com" to "elitepvpers.com"? If iam right here:
Code:
Private Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
If TextBox1.Text = "com" Then
TextBox1.Text = "elitepvpers.com"
End If
End Sub
|
|
|
06/20/2012, 12:57
|
#3
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by Benhero
iam right with this:
If you write "com" in a Textbox, the text from the Textbox change from "com" to "elitepvpers.com"? If iam right here:
Code:
Private Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
If TextBox1.Text = "com" Then
TextBox1.Text = "elitepvpers.com"
End If
End Sub
|
this will change the text but i will that example =
in a hidden place i writed in the program google.en
and when he write in the textbox cy then it will changed too = google.cy
i will when he write anything in textbox1 that it will change a place from the url i think google.{0} i see in google that when i search but i cant find
Sorry for bad english
i think i fixed it can anyone tell me how to get text from a id in html ?
how to get the text from example this = <a id="example1" class="header_example1" here is the text i think </a>
|
|
|
06/20/2012, 13:04
|
#4
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by blackout617
this will change the text but i will that example =
in a hidden place i writed in the program google.en
and when he write in the textbox cy then it will changed too = google.cy
i will when he write anything in textbox1 that it will change a place from the url i think google.{0} i see in google that when i search but i cant find
Sorry for bad english
|
Do you mean the following:
If user enters e.g. .comThe "hidden place" should be .com
If user enters e.g. .netThe "hidden place" should be .net
?
If yes here you got an example, you have to convert it:
Code:
using System;
using System.Linq;
namespace ConsoleApplication4
{
class Program
{
static void Main()
{
const string url = "http://sub.google.com/test/hello";
Console.WriteLine("URL: " + url);
Console.WriteLine("TLD: " + GetTLD(url));
Console.Read();
}
public static string GetTLD(string url)
{
Uri uri = new Uri(url);
if (!uri.HostNameType.Equals(UriHostNameType.Dns) || uri.IsLoopback)
return string.Empty; // exception
return uri.Host.Split('.').Last();
}
}
}
|
|
|
06/20/2012, 13:38
|
#5
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by boxxiebabee
Do you mean the following:
If user enters e.g. .com
The "hidden place" should be .com
If user enters e.g. .net
The "hidden place" should be .net
?
If yes here you got an example, you have to convert it:
Code:
using System;
using System.Linq;
namespace ConsoleApplication4
{
class Program
{
static void Main()
{
const string url = "http://sub.google.com/test/hello";
Console.WriteLine("URL: " + url);
Console.WriteLine("TLD: " + GetTLD(url));
Console.Read();
}
public static string GetTLD(string url)
{
Uri uri = new Uri(url);
if (!uri.HostNameType.Equals(UriHostNameType.Dns) || uri.IsLoopback)
return string.Empty; // exception
return uri.Host.Split('.').Last();
}
}
}
|
thanks and how can i get from header id text ?
here is and example html place from where i will get the text :
<a id="header_example" class="header_test" href="here is an link">here is the text that will that he get the text there and show it in label1</a>
|
|
|
06/20/2012, 13:54
|
#6
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by blackout617
thanks and how can i get from header id text ?
here is and example html place from where i will get the text :
<a id="header_example" class="header_test" href="here is an link">here is the text that will that he get the text there and show it in label1</a>
|
For parsing html the best would be if you use the  library. Everything else is **** (e.g. Regex, Split etc.).
There are also some examples how to use it, google it.
|
|
|
06/20/2012, 15:08
|
#7
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
can anyone give a tutorial video
|
|
|
06/20/2012, 23:02
|
#8
|
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
|
General Coding -> .NET Languages
#moved
|
|
|
06/21/2012, 08:43
|
#9
|
elite*gold: 0
Join Date: May 2011
Posts: 532
Received Thanks: 316
|
i think u maybe can create 3 text boxes, 2 of them hidden, and u make first one Host.Split('.').Last and then make textbox2.text + textbox1.text = textbox3.text.
i let u a code of a program i have done, u maybe wanna do same or something like that.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.Text = "HOME" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalStart&dosid=" + TextBox2.Text
If ComboBox1.Text = "HANGAR" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&dosid=" + TextBox2.Text
If ComboBox1.Text = " equipment" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockEquipment&dosid=" + TextBox2.Text
If ComboBox1.Text = " shop" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = "CLAN" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalClan&dosid=" + TextBox2.Text
If ComboBox1.Text = "MAIL" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalMessaging&dosid=" + TextBox2.Text
If ComboBox1.Text = "QUESTS" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalQuestJobs&dosid=" + TextBox2.Text
If ComboBox1.Text = "PILOT SHEET" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalPilotSheet&dosid=" + TextBox2.Text
If ComboBox1.Text = "URIDIUM" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalPayment&dosid=" + TextBox2.Text
If ComboBox1.Text = "GALAXY GATES" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalGalaxyGates&dosid=" + TextBox2.Text
If ComboBox1.Text = "TRADE" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalHandel&dosid=" + TextBox2.Text
If ComboBox1.Text = "SKYLAB" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalSkylab&dosid=" + TextBox2.Text
If ComboBox1.Text = " tech center" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalNanoTechFactory&dosid=" + TextBox2.Text
If ComboBox1.Text = " item updating" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalItemUpgradeSystem&dosid=" + TextBox2.Text
If ComboBox1.Text = "SHOP" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = " ships" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = " drones" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockDrones&dosid=" + TextBox2.Text
If ComboBox1.Text = " weapons" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockLaser&dosid=" + TextBox2.Text
If ComboBox1.Text = " ammo" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockAmmo&dosid=" + TextBox2.Text
If ComboBox1.Text = " gens" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockGenerator&dosid=" + TextBox2.Text
If ComboBox1.Text = " extras" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockSpecials&dosid=" + TextBox2.Text
If ComboBox1.Text = " pet/gears" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockPetGear&dosid=" + TextBox2.Text
If ComboBox1.Text = " protocols" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockPetProtocols&dosid=" + TextBox2.Text
If ComboBox1.Text = " boosters" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockBooster&dosid=" + TextBox2.Text
If ComboBox1.Text = " designs" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShipModel&dosid=" + TextBox2.Text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
if u want to see the program u can  pasword is -popcorn- , if u wanna see more, make the program bigger and u will see textbox3 bellow.
all that this program does is create an url like http://"server".darkorbit.bigpoint.com/indexinternal.es?&dosid="session id", put all that in textbox3 and then go that page.(there are so much links cos combo box let u know what page u wanna go to)
for your code will be something like this:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox2.Text = 'text box 1 split'
TextBox3.Text = "www.google" + textbox2.text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
|
|
|
06/21/2012, 09:42
|
#10
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by -popcorn-
i think u maybe can create 3 text boxes, 2 of them hidden, and u make first one Host.Split('.').Last and then make textbox2.text + textbox1.text = textbox3.text.
i let u a code of a program i have done, u maybe wanna do same or something like that.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.Text = "HOME" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalStart&dosid=" + TextBox2.Text
If ComboBox1.Text = "HANGAR" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&dosid=" + TextBox2.Text
If ComboBox1.Text = " equipment" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockEquipment&dosid=" + TextBox2.Text
If ComboBox1.Text = " shop" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = "CLAN" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalClan&dosid=" + TextBox2.Text
If ComboBox1.Text = "MAIL" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalMessaging&dosid=" + TextBox2.Text
If ComboBox1.Text = "QUESTS" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalQuestJobs&dosid=" + TextBox2.Text
If ComboBox1.Text = "PILOT SHEET" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalPilotSheet&dosid=" + TextBox2.Text
If ComboBox1.Text = "URIDIUM" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalPayment&dosid=" + TextBox2.Text
If ComboBox1.Text = "GALAXY GATES" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalGalaxyGates&dosid=" + TextBox2.Text
If ComboBox1.Text = "TRADE" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalHandel&dosid=" + TextBox2.Text
If ComboBox1.Text = "SKYLAB" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalSkylab&dosid=" + TextBox2.Text
If ComboBox1.Text = " tech center" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalNanoTechFactory&dosid=" + TextBox2.Text
If ComboBox1.Text = " item updating" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalItemUpgradeSystem&dosid=" + TextBox2.Text
If ComboBox1.Text = "SHOP" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = " ships" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = " drones" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockDrones&dosid=" + TextBox2.Text
If ComboBox1.Text = " weapons" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockLaser&dosid=" + TextBox2.Text
If ComboBox1.Text = " ammo" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockAmmo&dosid=" + TextBox2.Text
If ComboBox1.Text = " gens" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockGenerator&dosid=" + TextBox2.Text
If ComboBox1.Text = " extras" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockSpecials&dosid=" + TextBox2.Text
If ComboBox1.Text = " pet/gears" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockPetGear&dosid=" + TextBox2.Text
If ComboBox1.Text = " protocols" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockPetProtocols&dosid=" + TextBox2.Text
If ComboBox1.Text = " boosters" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockBooster&dosid=" + TextBox2.Text
If ComboBox1.Text = " designs" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShipModel&dosid=" + TextBox2.Text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
if u want to see the program u can  pasword is -popcorn- , if u wanna see more, make the program bigger and u will see textbox3 bellow.
all that this program does is create an url like http://"server".darkorbit.bigpoint.com/indexinternal.es?&dosid="session id", put all that in textbox3 and then go that page.(there are so much links cos combo box let u know what page u wanna go to)
for your code will be something like this:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox2.Text = 'text box 1 split'
TextBox3.Text = "www.google" + textbox2.text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
|
That's absolute bullshit. You can't really use Split for a URL to get the Top Level Domain. You will need my function i already posted.
|
|
|
06/21/2012, 17:21
|
#11
|
elite*gold: 0
Join Date: May 2011
Posts: 532
Received Thanks: 316
|
Quote:
Originally Posted by boxxiebabee
That's absolute bullshit. You can't really use Split for a URL to get the Top Level Domain. You will need my function i already posted.
|
no, isnt bullshit, is just the easy way
|
|
|
06/21/2012, 20:33
|
#12
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by -popcorn-
i think u maybe can create 3 text boxes, 2 of them hidden, and u make first one Host.Split('.').Last and then make textbox2.text + textbox1.text = textbox3.text.
i let u a code of a program i have done, u maybe wanna do same or something like that.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.Text = "HOME" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalStart&dosid=" + TextBox2.Text
If ComboBox1.Text = "HANGAR" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&dosid=" + TextBox2.Text
If ComboBox1.Text = " equipment" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockEquipment&dosid=" + TextBox2.Text
If ComboBox1.Text = " shop" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = "CLAN" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalClan&dosid=" + TextBox2.Text
If ComboBox1.Text = "MAIL" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalMessaging&dosid=" + TextBox2.Text
If ComboBox1.Text = "QUESTS" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalQuestJobs&dosid=" + TextBox2.Text
If ComboBox1.Text = "PILOT SHEET" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalPilotSheet&dosid=" + TextBox2.Text
If ComboBox1.Text = "URIDIUM" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalPayment&dosid=" + TextBox2.Text
If ComboBox1.Text = "GALAXY GATES" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalGalaxyGates&dosid=" + TextBox2.Text
If ComboBox1.Text = "TRADE" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalHandel&dosid=" + TextBox2.Text
If ComboBox1.Text = "SKYLAB" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalSkylab&dosid=" + TextBox2.Text
If ComboBox1.Text = " tech center" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalNanoTechFactory&dosid=" + TextBox2.Text
If ComboBox1.Text = " item updating" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalItemUpgradeSystem&dosid=" + TextBox2.Text
If ComboBox1.Text = "SHOP" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = " ships" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShips&dosid=" + TextBox2.Text
If ComboBox1.Text = " drones" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockDrones&dosid=" + TextBox2.Text
If ComboBox1.Text = " weapons" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockLaser&dosid=" + TextBox2.Text
If ComboBox1.Text = " ammo" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockAmmo&dosid=" + TextBox2.Text
If ComboBox1.Text = " gens" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockGenerator&dosid=" + TextBox2.Text
If ComboBox1.Text = " extras" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockSpecials&dosid=" + TextBox2.Text
If ComboBox1.Text = " pet/gears" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockPetGear&dosid=" + TextBox2.Text
If ComboBox1.Text = " protocols" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockPetProtocols&dosid=" + TextBox2.Text
If ComboBox1.Text = " boosters" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockBooster&dosid=" + TextBox2.Text
If ComboBox1.Text = " designs" Then TextBox3.Text = TextBox1.Text + ".darkorbit.bigpoint.com/indexInternal.es?action=internalDock&tpl=internalDockShipModel&dosid=" + TextBox2.Text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
if u want to see the program u can  pasword is -popcorn- , if u wanna see more, make the program bigger and u will see textbox3 bellow.
all that this program does is create an url like http://"server".darkorbit.bigpoint.com/indexinternal.es?&dosid="session id", put all that in textbox3 and then go that page.(there are so much links cos combo box let u know what page u wanna go to)
for your code will be something like this:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox2.Text = 'text box 1 split'
TextBox3.Text = "www.google" + textbox2.text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
|
That i maked before i maked in a webbrowser1 but how can i make an auto bid tool or bid tool ? and how can i show the account uri,ep,honor,credits ?
|
|
|
06/21/2012, 21:02
|
#13
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by -popcorn-
no, isnt bullshit, is just the easy way
|
Ok, so then write me a small & litte function to get the top level domain for this urls:
You will fail at that. My function is short, simple an effective.. you'r one is just ****.
|
|
|
06/22/2012, 08:22
|
#14
|
elite*gold: 0
Join Date: May 2011
Posts: 532
Received Thanks: 316
|
Quote:
Originally Posted by boxxiebabee
You will fail at that. My function is short, simple an effective.. you'r one is just ****.
|
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox2.Text = 'text box 1 split'
TextBox3.Text = "www.google" + textbox2.text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
is shorer than ur
|
|
|
06/22/2012, 10:15
|
#15
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by -popcorn-
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox2.Text = 'text box 1 split'
TextBox3.Text = "www.google" + textbox2.text
System.Diagnostics.Process.Start("Http://" + TextBox3.Text)
is shorer than ur
|
Lol @ 'text box 1 split'. Give me a working code, not a pseudo one...
|
|
|
 |
Similar Threads
|
name changing
04/29/2011 - Archlord - 14 Replies
Ok so I want to change chars name,I delete it and try creating same but says that its in use?
|
[Guide] Just changing the drops of VIP maps without changing of its place
10/08/2010 - EO PServer Guides & Releases - 2 Replies
in revo's DB when u add the VIP tele it apears on the old market ..
some ppl dont know how to change its place thats why i made this query for them
delete from cq_generator where id >= 0113 and id <= 0128;
INSERT INTO `cq_generator` VALUES ('0113', '8900', '0062', '0033', '0001', '0001', '0001', '0025', '0001', '0110', '0000', '0000', '0000', '0000', '0000');
INSERT INTO `cq_generator` VALUES ('0114', '8900', '0072', '0037', '0001', '0001', '0001', '0025', '0001', '0110', '0000',...
|
Changing DBs to x-x-x
03/19/2010 - Conquer Online 2 - 4 Replies
Where can I find the Dbs to Stanchers thing, also does this still work. If so, cant i just change the type of the item to make it whatever I want xD?
|
Changing IP
08/21/2009 - Browsergames - 6 Replies
Resetting my router doesn't change my IP, so is there any other way I can use a bot to level up some of my brutes? Are there bots that use proxies or something?
|
Changing mob HP possible?
08/12/2008 - Dekaron - 15 Replies
Like it says on the title, is it possible to change HP on a mob? Been trying to change the hp on the monster.csv but nothing happens.
|
All times are GMT +1. The time now is 13:39.
|
|