Results 1 to 5 of 5

Thread: Easy One

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    10

    Question

    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????
    Web-OS

  2. #2
    Lively Member
    Join Date
    Apr 2000
    Location
    Rafaela (Argentine)
    Posts
    107
    Try with vbMaximizedFocus instead of vbNormalFocus.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    10

    Unhappy 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.
    Web-OS

  4. #4
    Guest
    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

  5. #5
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Europe
    Posts
    289
    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
  •  



Click Here to Expand Forum to Full Width