-
I'm trying to open IE with this statement
---Form Code
ShellExecute Me.hwnd, "Open", "http://www.vb-world.net", _
"", "", vbNormalFocus
--Module Code
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
what should I do to open in full screen mode????
any help????
-
Try with vbMaximizedFocus instead of vbNormalFocus.
-
It doesn't work
What I try to do it's to emulate the F11 in the I.E.
and if it's possible without navigation buttons, just the content of the page.
-
Try this:
Code:
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_MAXIMIZE = 3
ShellExecute Me.hwnd, vbNullString, "http://www.vb-world.net", vbNullString, "c:\", SW_MAXIMIZE
-
I have the same need here, ie launch a Web page in full screen mode. The reply above does not work for me, as it does what it says it does, it only opens the page in maximized mode. I need it to run full screen.
Any help ?
Mike