HyperLink

I have got a filename to be displayed on a page. How do I display it as a Hyperlink(Using What control and property)
arun_dpAsked:
Who is Participating?
 
GunjitsuConnect With a Mentor Commented:
chuck this in the (general) in the form you whish to have the link in

Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

then have this for the link

Private Sub Link_Click()
Go = ShellExecute(Me.hwnd, vbNullString, "c:\file.html", vbNullString, "c:\", SW_SHOWNORMAL)
End Sub

thats it...
0
 
caraf_gCommented:
Get Karl Peterson's Hyperlabel control.
0
 
caraf_gCommented:
You can use Karl Peterson's Hyper(or is it Hover-?)label control.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
caraf_gCommented:
Er... and what exactly is the "link" arun's clicking on?

That aint no answer.
0
 
GunjitsuCommented:
you change where it says "c:\file.htlm" to where you want the link to go.
0
 
caraf_gCommented:
"Private Sub Link_Click()"

What sort of control is "Link"?
0
 
GunjitsuCommented:
Link
can be anything. where i used it its a label.
0
 
caraf_gCommented:
So then, address the issue:

"How do I display it as a Hyperlink(Using What control and property)"

And *then* answer the question. Please withdraw your current answer as it does not address the question.

0
 
arun_dpAuthor Commented:
thank U Gunjitsu
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.