Hi,
I'm now using
VB Code:
For loopy = 1 To number ShellExecute Me.hwnd, vbNullString, "C:\WINDOWS\explorer.exe", site, vbNullString, SW_MAXIMISE 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:
For loopy = 1 To number runner = Shell("C:\WINDOWS\EXPLORER.EXE " & site, [B]vbMaximizedFocus[/B]) 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




?) could cause the window to lose focus before the command can be applied or some other such complication.
Reply With Quote