Link Label Help

  • Thread starter Thread starter Daniel Kaseman
  • Start date Start date
D

Daniel Kaseman

I cant figure out how to assign a URL to my Link Label control. What is the
syntax

I want to click on the link label on my form, and have it load internet
explorer and load the URL.
 
One thing that is missing from that document is:

LinkLabel1.LinkVisited = True

Crouchie1998
BA (HONS) MCP MCSE
 
Daniel Kaseman said:
I cant figure out how to assign a URL to my Link Label control. What is
the
syntax

I want to click on the link label on my form, and have it load internet
explorer and load the URL.

System.Diagnostics.Process.Start _
(http://www.microsoft.com)
LinkLabel1.LinkVisited = True


Or, you can specify the browser:


System.Diagnostics.Process.Start("IExplore.exe", _
http://www.microsoft.com)


Or, you can specify a program and file:


System.Diagnostics.Process.Start("winword.exe", _
"c:\file.doc")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top