We're having an issue in bringing IE to focus on loading from PowerPoint
add-in. Can you please help us in this regard. Steps are:



1) Create a DLL that has a form with a button in it

a) Form should be a modal dialog

b) On Click of the Button Internet Explorer should be automated and made
visible --- shdocvw.dll is used to automate Internet explorer

2) Create an Add-ins referring that DLL

3) Include that Add-ins in excel application

4) Run the Macro of Add-ins to display the Form in DLL

5) Click the button to display IE

6) IE is loaded, but appears in a minimized mode in the Taskbar.


Any Idea to make it visible in maximized mode

Re: Bringing IE to focus from add-in by Franz

Franz
Thu Dec 07 19:41:38 CST 2006

Ganesh Palaniappan wrote:

> 6) IE is loaded, but appears in a minimized mode in the Taskbar.
> Any Idea to make it visible in maximized mode

Maybe is not minimized but just not "on top" ?

by the way...

add the -k parameter to IE command line :

iexplore -k

this will launch IE in kiosk mode (supported since IE v4)
but no toolbar will be shown, so the only way to close IE
is by the control+f4.

or....
instead launching IE directly, launch a shotrcut to IE
which has the property "window mode" set to "maximized"

or....
by the means of the sendkeys method, send the keyboard
combination which bring IE to the maximized state










Re: Bringing IE to focus from add-in by Ganesh

Ganesh
Fri Dec 08 07:21:19 CST 2006

This was helpful. Thanks for the help.

"Franz aRTiglio" <franzgol@N0SPAMtin.it> wrote in message
news:4578c3a1$0$19107$4fafbaef@reader4.news.tin.it...
> Ganesh Palaniappan wrote:
>
>> 6) IE is loaded, but appears in a minimized mode in the Taskbar.
>> Any Idea to make it visible in maximized mode
>
> Maybe is not minimized but just not "on top" ?
>
> by the way...
>
> add the -k parameter to IE command line :
>
> iexplore -k
>
> this will launch IE in kiosk mode (supported since IE v4)
> but no toolbar will be shown, so the only way to close IE
> is by the control+f4.
>
> or....
> instead launching IE directly, launch a shotrcut to IE
> which has the property "window mode" set to "maximized"
>
> or....
> by the means of the sendkeys method, send the keyboard
> combination which bring IE to the maximized state
>
>
>
>
>
>
>
>
>