Copyright © 1998-2010 MultiMedia Soft

Hyperlink property

Previous pageReturn to chapter overviewNext page

Type

LPCTSTR for Visual C++

String for Visual Basic

 

 

Syntax

object.Hyperlink [=String]

 

 

Remarks

Determines a connection from the object to another location: it can be an Internet URL, an e-mail address or even another program.

The hyperlink is activated when the user clicks the control using the left mouse button or using the Enter key.

Note: Do not enter e-mail addresses containing the ":" (colon) character

 

Examples

 

Hyperlink property value

Effect

http://yoursite.com/index.html

Click launches the default web browser and will open the index.html Web page located on yoursite.com Web site

http://yoursite.com/image.gif

Click launches the default web browser and will open the image.gif image located on yoursite.com Web site

ftp://username:password@yoursite.com/img.gif

Click launches the default web browser and will open the image.gif image located on yoursite.com Web site using the given username and password

someone@yoursite.com

Click launches the default email client and will initialize the To: field to someone@yoursite.com

c:\program files\yourprogram.exe

Click launches yourprogram.exe located in the Program Files Folder on the C Drive.