Avis Junior Poster

Joined: 07 Oct 2003 Posts: 510 Location: India
|
Posted: Nov 3rd, 2003 06:09 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 |
_________________ Code Snippets, Tutorials, Utilities, Controls
Low cost Web Hosting
Hosting starts at as low as $4 per year!
Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags! |
|