Avis Junior Poster

Joined: 07 Oct 2003 Posts: 510 Location: India
|
Posted: Oct 8th, 2003 05:37 AM Post subject: Links to your website! |
|
|
Us this following code to execute any type of file or putting your website's link in your program or putting an Click here to email button, etc.
| Code: | 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
Private Sub Command1_Click()
ShellExecute Me.hwnd, "open", "http://www.your-site-here.com", "", "", 0
End Sub |
|
|