Solved

HyperLink

Posted on 2000-03-28
9
237 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
 
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 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

15 Experts available now in Live!

Get 1:1 Help Now