Results 1 to 9 of 9

Thread: I need a fresh pair of eyes

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Manchester
    Posts
    266

    Resolved I need a fresh pair of eyes

    Hi,

    I'm now using

    VB Code:
    1. For loopy = 1 To number
    2. ShellExecute Me.hwnd, vbNullString, "C:\WINDOWS\explorer.exe", site, vbNullString, SW_MAXIMISE
    3. Next loopy

    However, it is launching the websites fine but is not maximising them - any ideas?

    Jord

    --------------------------------------------------
    ...and not for myself

    I'm opening up websites using explorer.exe and passing the website as a parameter to the executable. I wish to maximise each window that I open, however, the following code does not maximise any windows.

    VB Code:
    1. For loopy = 1 To number
    2. runner = Shell("C:\WINDOWS\EXPLORER.EXE " & site, [B]vbMaximizedFocus[/B])
    3. Next loopy

    I thought vbMaximizedFocus was suppoed to maximise the window, then I thought that perhaps the fact that the windows are opening iterationally (is that a word ?) could cause the window to lose focus before the command can be applied or some other such complication.

    Does anyone have any idea why the windows are maximising themselves and if there are any other ways I could maximise them instead.

    Jord
    Last edited by intraman; Jun 7th, 2006 at 05:43 PM. Reason: Not resolved

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