Results 1 to 4 of 4

Thread: simple link question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Posts
    91

    simple link question

    i need someone to click on a link label thing and it opens up default browser and goes to a website... help?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Like this :
    VB Code:
    1. Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
    2.         Process.Start(Me.LinkLabel1.Text)
    3.     End Sub

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    And it should "Imports System.Diagnostics", right?

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    No need . As System.Diagnostics is imported by default . You can see default namespaces like this :
    Right click ProjectName (in the solution explorer) ---->Properties---->Imports (item on the left side) .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width