Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

hyperlinks in vb5

Posted on 1998-02-27
3
Medium Priority
?
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 60 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 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…
Suggested Courses

618 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