VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

An easy to use class module for launching the browser. You should write the URL, say whether the wi

Kamen  (2 Submissions)   Internet/HTML   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Mon 21st August 2000   Mon 8th February 2021

An easy to use class module for launching the browser. You should write the URL, say whether the window should be maximized, etc., and call

API Declarations



'Local variables
Private mstrURL As String
Private mlngMax As Long
Private mlngMin As Long
Private mlngNormal As Long

'Function needed to launch the browser
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

'Window constants
Const SW_SHOWMAXIMIZED = 3
Const SW_SHOWMINIMIZED = 2
Const SW_SHOWNORMAL = 1

Rate An easy to use class module for launching the browser. You should write the URL, say whether the wi (2(2 Vote))
An easy to use class module for launching the browser. You should write the URL, say whether the wi.bas

An easy to use class module for launching the browser. You should write the URL, say whether the wi Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters