The ShellExecute starts IE where I would prefer to use Firefox. Is that possible?
Here is my code:
This is entered into a module:
thanx.
Here is my code:
Code:
Private Sub Form_Click()
ShellExecute Me.hwnd, vbNullString, "[URL unfurl="true"]http://mywebpage",[/URL] vbNullString, "C:\", SW_SHOWNORMAL
End Sub
This is entered into a module:
Code:
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
Public Const SW_SHOWNORMAL = 1
thanx.