ShellExecute Iexplore 
Author Message
 ShellExecute Iexplore

Hello,

I use

ShellExecute 0&, vbNullString, "Iexplore", "c:\yyyy.html",
vbNullString, vbMaximizedFocus

to open the file in IE. How can I make the browser to open directly
with a 80% zoom of the display?

Thanks
Avi



Sat, 12 May 2012 01:05:48 GMT  
 ShellExecute Iexplore

Quote:
> Hello,

> I use

> ShellExecute 0&, vbNullString, "Iexplore", "c:\yyyy.html",
> vbNullString, vbMaximizedFocus

> to open the file in IE. How can I make the browser to open directly
> with a 80% zoom of the display?

You need to use IE automation. This post will get you started:

http://groups.google.com/group/microsoft.public.vb.general.discussion...



Sat, 12 May 2012 02:32:53 GMT  
 ShellExecute Iexplore

Quote:


>> Hello,

>> I use

>> ShellExecute 0&, vbNullString, "Iexplore", "c:\yyyy.html",
>> vbNullString, vbMaximizedFocus

>> to open the file in IE. How can I make the browser to open directly
>> with a 80% zoom of the display?

> You need to use IE automation. This post will get you started:

> http://groups.google.com/group/microsoft.public.vb.general.discussion...

Try adding these to the beginning of Command1_Click:

ie.Width = 500
ie.Height = 500

To see the reference in MSDN, look for "InternetExplorer Object" in the
Index. Also see "IHTMLDocument3 Interface".



Sat, 12 May 2012 03:10:47 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ShellExecute... IExplore.exe on WIN2K

2. ShellExecute... IExplore.exe on WIN2K

3. ShellExecute... IExplore.exe on Win2K

4. Location of iexplore.exe (registry)

5. unique iexplore session

6. IEXPLORE caused an invalid page fault in module MSVBVM60.DLL

7. How to distinguish between EXPLORER.EXE and IEXPLORE.EXE

8. Problem starting IExplore with createprocess api: HELP!!

9. Easy Way to Verify IExplore MEMORY LEAK w/ DDE

10. Help on IExplore Webbrowser control

11. Wsh: Iexplore in same window?

12. Save as in iexplore

 

 
Powered by phpBB® Forum Software