|
-
Sep 14th, 2000, 02:17 PM
#1
Thread Starter
New Member
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????
-
Sep 14th, 2000, 02:26 PM
#2
Lively Member
Try with vbMaximizedFocus instead of vbNormalFocus.
-
Sep 14th, 2000, 02:51 PM
#3
Thread Starter
New Member
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.
-
Sep 14th, 2000, 04:11 PM
#4
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
-
Sep 16th, 2001, 08:20 AM
#5
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|