The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I've got the shell command for opening internet explorer but I'm sure theres a quicker way to just open up a URL.
Help please.
Declaration:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpszOp As String, _
ByVal lpszFile As String, ByVal lpszParams As String, _
ByVal LpszDir As String, ByVal FsShowCmd As Long) _
As Long
Sample use of code:-
Private Sub Command1_Click()
Dim l As Long
l = ShellExecute(Me.hwnd, "Open", "http://www.vbworld.com", "", "C:\", vbNormalFocus)
End Sub
I know there's a shorter way of doing it without having to use shell commands, which would probably be better!
I just want to click a button and for a website to spring up. Simple.
Open up IE and load a certain website ?
I've got the shell command for opening internet explorer but I'm sure theres a quicker way to just open up a URL.
Help please.