Solved

hyperlinks in vb5

Posted on 1998-02-27
3
225 Views
Last Modified: 2008-03-10
I am developing an activex document application for an intranet site, and need to create hyperlinks which can be used to navigate through the application.  I need these to work in the same way as they do on HTML pages where the text is a different color and the mouse changes when moved over the link, and a single click will perform the navigation.  Will I have to program the mouse events for the text box or label, or is there a 'proper' way this can be done, and be recognized by the web browser as a link.
0
Comment
Question by:gbr
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 30 total points
ID: 1458136
You can use a regular label with the font and color adjusted accordingly as a hyperlink. Set the .MousePointer to vbCustom, and .MouseIcon to the image of the hand. In the _Click event, Use ShellExecute with the URL
0
 

Expert Comment

by:wisdom_y
ID: 1458137
you can use rich-text to color text,and on click event to determine  what
word  is clicked. ( use:  instr,  selstart property )

excuse me, my english is poor.
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1458140
You can use a screen capture utility to capture the screen image when the pointer is on a hyperlink in a browser, and then extract the hand part to an icon file
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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 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…
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…

706 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

14 Experts available now in Live!

Get 1:1 Help Now