- 1). Open the VB6 editor and compiler and open your VB6 project. Double-click the form that contains your image.
- 2). Double-click the image on the VB6 form to open the "OnClick" event. Create the string that contains your URL address. The following code stores an address to the "mysite.com" domain:
Dim url As String
url = "http://mysite.com" - 3). Open the URL using the "StartDoc" function. Add the following code to open the URL when the user clicks the image:
Start(url)
SHARE