VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Start Internet Explorer and goes to an URL.

by mainframe (4 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 4th July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Start Internet Explorer and goes to an URL.

API Declarations


Public Const MIIM_TYPE = &H10
Public Const MFT_STRING = &H0&
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

Public Const SW_SHOWNORMAL As Long = 1
Public Const SW_SHOWMAXIMIZED As Long = 3
Public Const SW_SHOWDEFAULT As Long = 10

Rate Start Internet Explorer and goes to an URL.



Dim lSuccess As Long
'-- Shell to default browser
lSuccess = ShellExecute(fH, "Open", strURL, 0&, 0&, iWindowStyle)
End Sub

Download this snippet    Add to My Saved Code

Start Internet Explorer and goes to an URL. Comments

No comments have been posted about Start Internet Explorer and goes to an URL.. Why not be the first to post a comment about Start Internet Explorer and goes to an URL..

Post your comment

Subject:
Message:
0/1000 characters