250 point more for old question

Here is my old question I give here another 250 points.
I need a sollution how to manipulate IE.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I read the previous comments to your question. As I see, you want to display a Web page without Menubar and Toolbar.

The following steps displays an Htm page without Toolbar and Menubar:

note: First page.htm is used to open the FinalPage.htm

- Build FirstPage.htm and FinalPage.htm
- In FirstPage.htm change the <BODY> to
      <BODY onload="window.open('FinalPage.htm', '','resizable=yes,scrollbars=yes,width=448,height=216');return false">

- In MFC use 'ShellExecute' to run 'IEXPLORER.EXE', like this:
  ShellExecute ( NULL, "open", "IEXPLORE.exe", "FirstPage.htm", NULL, SW_HIDE);
 "I used it in a Dialog Based application."

After executing  'ShellExecute' the FinalPage.htm will be displayed with specified width and height.

Good luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BAlexandrovAuthor Commented:
This exactly the approach I want to go with.
I have'nt tried with ShellExecute but from command prompt starting IE with this page as parameter I end with two pages. It seem that this  - "return false" does not work as expected.
Is there difference with ShellExecute? Does your sollution open a single page only?
I have tried to open new page and close the original with window.close() but it issues a security warning that is unacceptable.

What you will suggest?

Bojidar Alexandrov
It opens only a web page without Toolbar and Menubar.
'ShellExecute' runs the application and 'SW_HIDE' arguement hides the FirstPage.htm.
BAlexandrovAuthor Commented:
Thanks. I will check this at monday and will give you the points.
Please post one comment at original question to can accept it too.
BAlexandrovAuthor Commented:
Actually I found better workaround.

Opening first page and then another one and closing the original without security prompt!

<script language="JavaScript" type="text/JavaScript">
function jump()
    var sscWindow
    sscWindow= window.open('test2.html', 'test2', 'scrollbars=yes,width=772,height=536');
    if (window.focus)
    return false;

<a href="#" onclick="jump();">Open test2</a>



<script language="JavaScript" type="text/JavaScript">
    opener.opener = opener;

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.