Need help with Visual Basic shellExecute function...

Chewy

Senior member
Oct 9, 1999
690
0
0
I'm trying to open a browser WITHOUT the toolbar in VB. I got the browser to open with the ShellExecute function, but not sure how to "manipulate" it to open w/out the toolbar...

The function is as follows:
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

I'm guessing maybe I can use the lpParameters, but I don't know what they are! :)

And yes, I know if I had the browser set w/out a toolbar as default, it would work, but I'm trying to force that when it's not set. :) Thanx