Copyright © 2003-2024 MultiMedia Soft

Hyperlink property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Overridable Property Hyperlink As String

 

[C#]

public virtual string Hyperlink {get; set;}

 

[C++]

public: __property virtual String* get_Hyperlink();

public: __property virtual void set_Hyperlink(String*);

 

 

Remarks

Determines a connection from your program 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

The button pressure will launch the user default web browser and will open the index.html Web page located on yoursite.com Web site

http://yoursite.com/image.gif

The button pressure will launch the user default web browser and will open the image.gif image located on yoursite.com Web site

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

The button pressure will launch the user 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

The button pressure will launch the user default E-mail program and will initialise the To field to someone@yoursite.com

c:\program files\yourprogram.exe

The button pressure will launch the program yourprogram.exe located on drive c in the program files folder