-
Maximize IE
I'm running IE from my app, I have the following code:
Dim IEObj as Object
set IEObj = CreateObject("InternetExplorer.Application")
IEObj.navigate WPPLogin
IEObj.Visible = true
IEObj.WindowState = vbMaximized
but IE it's not maximizing, and VB reports that the object does not recognize this property.
Does anyone know which property would do this?.
Thanks in advance.
Alejandro.
-
Re: Maximize IE
With APIS.
Enumerate all windows until you get one that ends with microsoft internet explorer.
Then get the hWnd and send a message to maximize it using SendMessage api.
without apis.
Add a project reference to c:\windows\system\shdocvw.dll (which is the IE dll).
And then use the InternetExplorer object instead of the above code. You'll get the hwnd easily and then can send the appropriate message or use the appropriate apis. You'll also have the fullscreen property and so on.
-
Re: Maximize IE
How do I use shdocvw.dll ?