Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 13:38

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

Advertisement



Changing a Url

Discussion on Changing a Url within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
Question 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
blackout617 is offline  
Old 06/19/2012, 00:58   #2


 
Benhero's Avatar
 
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
Benhero is offline  
Old 06/20/2012, 12:57   #3
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
Quote:
Originally Posted by Benhero View Post
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>
blackout617 is offline  
Old 06/20/2012, 13:04   #4

 
boxxiebabee's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
Quote:
Originally Posted by blackout617 View Post
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. .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();
        }

    }
}
boxxiebabee is offline  
Old 06/20/2012, 13:38   #5
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
Quote:
Originally Posted by boxxiebabee View Post
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>​
blackout617 is offline  
Old 06/20/2012, 13:54   #6

 
boxxiebabee's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
Quote:
Originally Posted by blackout617 View Post
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.
boxxiebabee is offline  
Old 06/20/2012, 15:08   #7
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
can anyone give a tutorial video
blackout617 is offline  
Old 06/20/2012, 23:02   #8


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
Arrow General Coding -> .NET Languages

#moved
MrSm!th is offline  
Old 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)
-popcorn- is offline  
Old 06/21/2012, 09:42   #10

 
boxxiebabee's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
Quote:
Originally Posted by -popcorn- View Post
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.
boxxiebabee is offline  
Old 06/21/2012, 17:21   #11
 
elite*gold: 0
Join Date: May 2011
Posts: 532
Received Thanks: 316
Quote:
Originally Posted by boxxiebabee View Post
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
-popcorn- is offline  
Old 06/21/2012, 20:33   #12
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
Quote:
Originally Posted by -popcorn- View Post
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 ?
blackout617 is offline  
Old 06/21/2012, 21:02   #13

 
boxxiebabee's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
Quote:
Originally Posted by -popcorn- View Post
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 ****.
boxxiebabee is offline  
Old 06/22/2012, 08:22   #14
 
elite*gold: 0
Join Date: May 2011
Posts: 532
Received Thanks: 316
Quote:
Originally Posted by boxxiebabee View Post

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
-popcorn- is offline  
Old 06/22/2012, 10:15   #15

 
boxxiebabee's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
Quote:
Originally Posted by -popcorn- View Post
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...
boxxiebabee is offline  
Reply


Similar Threads 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.


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.