Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

HyperLink

Posted on 2000-03-28
9
Medium Priority
?
298 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
  • 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 12 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

782 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