Solved

500pts: Launch IE without Menu, address bar, status bar from Winforms?

Posted on 2007-03-21
5
2,528 Views
Last Modified: 2008-01-09
Hi there,

Can anyone help? I need to be able to launch an IE (or posibly registered browser) with a URL but have the menu, address bar and status bar removed from the windows...

This is similar to what you can do in javascript but i am unsure how i would do this through winforms, Can i pass some parameters to IEXPLORER.EXE or something ...

Any help really appreciated.. a little stuck on this one... in javascript it is quite easy but from c#/winforms... i am stumped..

Thanks in advance

Ian
0
Comment
Question by:ianinspain
5 Comments
 
LVL 4

Assisted Solution

by:Neotk
Neotk earned 150 total points
ID: 18762987
I dont know any javascript to hide the adress and status bar...
but if you know that you can use this command in your windows form:

System.Diagnostics.Process.Start("http://www.google.com"); // this will open your default browser.
or
Proccess.Start("iexplore.exe") // this will open iexplore.

and on pageload of your page, u can register startupscript to hide adress and status bar.

0
 
LVL 16

Accepted Solution

by:
AlexNek earned 200 total points
ID: 18763509
0
 

Author Comment

by:ianinspain
ID: 18764612
hi AlexNek,

Thanks... i am using a special applet (java) thats embedded in a webpage...  and when i put the URL in IE it works perfectly but when I try with the IE wrapper in VS 2003... it seems to work on my machine but on other peoples it doesn't.... I was actually using this method initially.... but because of all the problems i decide to remove it and just load the IE browser as if i clicked on the icon...

I presume i don't need to register Schdocvw.dll on the machne as they have it....  not onlt that i did try regsvr32 the dll and it failed.....

0
 
LVL 9

Assisted Solution

by:smidgie82
smidgie82 earned 150 total points
ID: 18764935
ianinspain,

I don't know about any other command-line options, but you can use the -k option to start Internet Explorer in kiosk mode, which makes it full-screen with no menu, address bar, toolbar, or status bar.
0
 

Author Comment

by:ianinspain
ID: 18780474
thanks... it appears it isn't possible to do this... but i am splitting points for the confimation and help...

Ian
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question