|
-
June 12th, 2001, 01:03 PM
#1
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.
-
June 12th, 2001, 11:49 PM
#2
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.
-
June 13th, 2001, 08:15 AM
#3
Re: Maximize IE
How do I use shdocvw.dll ?
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
|