Solved

hyperlinks in vb5

Posted on 1998-02-27
3
226 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace Formatted Numbers with text 9 61
VBA: Add rows to listbox based on criteria 7 73
JSON Response and request in VB6 application 11 239
Add a task in Outlook from access 11 35
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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 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…

914 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

21 Experts available now in Live!

Get 1:1 Help Now