PDA

View Full Version : website



supremer13
03-10-2008, 03:26 PM
how to create a button that go's to a website??
whanks, supremer

Vescovo
03-10-2008, 04:03 PM
Module:

Public 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 Const SW_SHOW = 5


Button Code:

ShellExecute Me.hwnd, "open", "www.website.com", "", "", SW_SHOWNORMAL

supremer13
03-11-2008, 02:59 PM
all thanks

Vescovo
03-11-2008, 10:23 PM
Np man anything else?