Solved

HyperLink

Posted on 2000-03-28
9
254 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 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now