Solved

HyperLink

Posted on 2000-03-28
9
274 Views
Last Modified: 2010-05-02
I have got a filename to be displayed on a page. How do I display it as a Hyperlink(Using What control and property)
0
Comment
Question by:arun_dp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 10

Expert Comment

by:caraf_g
ID: 2663587
Get Karl Peterson's Hyperlabel control.
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2663591
You can use Karl Peterson's Hyper(or is it Hover-?)label control.
0
 

Accepted Solution

by:
Gunjitsu earned 4 total points
ID: 2663933
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:caraf_g
ID: 2663982
Er... and what exactly is the "link" arun's clicking on?

That aint no answer.
0
 

Expert Comment

by:Gunjitsu
ID: 2664239
you change where it says "c:\file.htlm" to where you want the link to go.
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2664473
"Private Sub Link_Click()"

What sort of control is "Link"?
0
 

Expert Comment

by:Gunjitsu
ID: 2664662
Link
can be anything. where i used it its a label.
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 2664687
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
 

Author Comment

by:arun_dp
ID: 2695669
thank U Gunjitsu
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question