linklabel help

need help getting a link label to goto a website

Page 1 of 1

3 Replies - 1237 Views - Last Post: 07 October 2009 - 05:59 PM Rate Topic: -----

#1 EnvXOwner  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 357
  • View blog
  • Posts: 2,319
  • Joined: 10-August 09

linklabel help

Post icon  Posted 07 October 2009 - 02:37 PM

Hello i need help making a link label goto a link when clicked. i have no work to show for (because i don't know how to do it) please don't reply saying i need to show effort. im only 12 im not in college.
Is This A Good Question/Topic? 0
  • +

Replies To: linklabel help

#2 Sethro117  Icon User is offline

  • Still the sexiest mofo.
  • member icon

Reputation: 236
  • View blog
  • Posts: 2,378
  • Joined: 14-January 09

Re: linklabel help

Posted 07 October 2009 - 03:00 PM

	Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
		Process.Start(LinkLabel1.Text)
	End Sub


Google also comes in very handy. Dont have to be in college to use that.
Was This Post Helpful? 0
  • +
  • -

#3 ID4_DISK9  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-October 09

Re: linklabel help

Posted 07 October 2009 - 03:03 PM

The guy above me is rigth... You can also put any thing you want on the .text part of the lbl and use the process.start with a string.. as in.. process.start("Cheeseworld.com") and your link can have a .text="LOOK HERE".
Was This Post Helpful? 0
  • +
  • -

#4 mark.bottomley  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 176
  • View blog
  • Posts: 990
  • Joined: 22-April 09

Re: linklabel help

Posted 07 October 2009 - 05:59 PM

Inside the Label_Click handler put code like:
Browser.Navigate("http://www.your.link.here.com")


The Label.Text can contain anything e.eg it can be "Google" while the link inside the Click routine can be anything.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1