Visual Programing
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Visual Programing

You are not connected. Please login or register

[TUT] How to make a Hyperlink

Go down  Message [Page 1 of 1]

1[TUT] How to make a Hyperlink Empty [TUT] How to make a Hyperlink Sun Sep 07, 2008 9:44 am

k0j0e

k0j0e
Admin
Admin

1. Create 1 labbel .
2. Create a Module then type that :

Code:
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Public Sub Hyperlink(frm As Form, ToOpen As String)
ShellExecute frm.hwnd, "Open", ToOpen, &O0, &O0, vbNormalFocus
End Sub

Now double click on your Labbel then type that
Code:
Hyperlink Me, "http://visualprograming.cc.co./"[/size]

Just change the visualprograming.cc.co to your url then enjoy! tongue

https://vbforum.iftopic.com

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum