Results 1 to 14 of 14

Hybrid View

  1. #1
    (G)rapefruit's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not here
    Posts
    1,593
    Reputation
    9
    Thanks
    211
    My Mood
    Amused

    How do I make a 'Label' a link?

    How do I make a label/button a link? I know something to make it a link, but it automaticly opens the link in IE... And IE sucks my left nut. (Vista sucks my right)

    Can anyone please tell me how to make a link that opens it in your standard browser?

  2. #2
    poneboy00's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    121
    Reputation
    10
    Thanks
    45
    My Mood
    Happy
    It's better to use a Linklabel for this but the code is
    Code:
        Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
            System.Diagnostics.Process.Start("https://www.MPGH.net/")
        End Sub
    This should open links in your default browser.

  3. The Following User Says Thank You to poneboy00 For This Useful Post:

    (G)rapefruit (10-03-2009)

  4. #3
    (G)rapefruit's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not here
    Posts
    1,593
    Reputation
    9
    Thanks
    211
    My Mood
    Amused
    Alright, I'll try it in a minute. =D Thx.

  5. #4
    Iamazn1's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    407
    Reputation
    12
    Thanks
    50
    If the linklabel is pressed when FireFox/IE isnt open, your program will crash
    Use
    Code:
    Try
    Process.Start("https://google.com")
    Catch Ex As Exception
    Process.Start("https://google.com")
    End Try

  6. #5
    poneboy00's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    121
    Reputation
    10
    Thanks
    45
    My Mood
    Happy
    Nope, the code I posted works just fine with any browser.

  7. #6
    Iamazn1's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    407
    Reputation
    12
    Thanks
    50
    Quote Originally Posted by poneboy00 View Post
    Nope, the code I posted works just fine with any browser.
    I use firefox, and when I use Process.Start("https://google.com") when Firefox isnt open, the program will crash.

  8. #7
    (G)rapefruit's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not here
    Posts
    1,593
    Reputation
    9
    Thanks
    211
    My Mood
    Amused
    I'll try both in a minute...

  9. #8
    trex's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    In a house in AUSTRALIA FTW!!!
    Posts
    683
    Reputation
    16
    Thanks
    84
    My Mood
    Amused
    I just tested it, and this should open in w/e your default browser is for mpgh.net:
    Code:
            System.Diagnostics.Process.Start("https://www.mpgh.net/")
    Again, can someone tell me how to make a toolbar addon for firefox?
    [IMG]https://i415.photobucke*****m/albums/pp231/TREXOX/Signature02.jpg[/IMG]

  10. The Following User Says Thank You to trex For This Useful Post:

    (G)rapefruit (10-04-2009)

  11. #9
    (G)rapefruit's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not here
    Posts
    1,593
    Reputation
    9
    Thanks
    211
    My Mood
    Amused
    Alright, I'm back and I'm gonna try it in a minute.

  12. #10
    Lukas59's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Linz
    Posts
    2,197
    Reputation
    14
    Thanks
    306
    My Mood
    Amazed
    haha-XD......

  13. #11
    Houston's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    The Netherlands
    Posts
    1,941
    Reputation
    175
    Thanks
    2,468
    My Mood
    Blah
    yo why you post this choob shit ???

  14. #12
    (G)rapefruit's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not here
    Posts
    1,593
    Reputation
    9
    Thanks
    211
    My Mood
    Amused
    Quote Originally Posted by Don Diablo View Post
    yo why you post this choob shit ???
    Because I am a Choob in VB...

  15. #13
    Lukas59's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Linz
    Posts
    2,197
    Reputation
    14
    Thanks
    306
    My Mood
    Amazed
    i am a professional coder in visual basic

  16. #14
    (G)rapefruit's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not here
    Posts
    1,593
    Reputation
    9
    Thanks
    211
    My Mood
    Amused
    Right?? W/e, It worked. Thx. =D

Similar Threads

  1. How can i make link
    By sukh13 in forum WarRock - International Hacks
    Replies: 6
    Last Post: 10-27-2007, 07:36 PM
  2. What Are Boxes And How Do You Make Stand Alone Trainers?
    By condor01 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 04-19-2007, 02:17 AM
  3. Help! how do i make a jap warrock name?
    By gmgundamx7 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 04-04-2007, 11:07 AM
  4. How'd you make these?
    By Twisty in forum Art & Graphic Design
    Replies: 1
    Last Post: 03-13-2007, 03:27 AM
  5. how can i make game hack?!!!!
    By UnknownID in forum General Game Hacking
    Replies: 2
    Last Post: 02-07-2006, 07:21 PM

Tags for this Thread