Explorer window with close button.

P

Praveen

Opening a new explorer window.

IE = new InternetExplorerClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" + "\r";
vPost = ASCIIEncoding.ASCII.GetBytes(strPostinfo);
IE.Navigate2(ref oURL, ref oEmpty, ref oEmpty, ref vPost, ref vHeaders);

Trying to get a window like a dialogue box, not resizable.
Window with close button only. No minimize/restore button on right top.



thanks,
Praveen
 
F

Franck

Opening a new explorer window.

IE = new InternetExplorerClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" + "\r";
vPost = ASCIIEncoding.ASCII.GetBytes(strPostinfo);
IE.Navigate2(ref oURL, ref oEmpty, ref oEmpty, ref vPost, ref vHeaders);

Trying to get a window like a dialogue box, not resizable.
Window with close button only. No minimize/restore button on right top.

thanks,
Praveen

JavaScript is your friend.

Because i guess u plan to create a login or info page, just create
your body with JavaScript to remove all things you don't need in the
visual and use a frame at 100% width and height to show the page you
need or if your building the page by code then you can put it directly
the JavaScript code inside.
if you still have problem create your own browser with ie object on a
form and create the form size you want and lock his ability to resize
and tada. youll just need to pass url to the ie object. if its locally
on the computer a path is something like : file:///path (it's 2 or 3
slash not sure)
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Praveen said:
Opening a new explorer window.

IE = new InternetExplorerClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" +
"\r";
vPost = ASCIIEncoding.ASCII.GetBytes(strPostinfo);
IE.Navigate2(ref oURL, ref oEmpty, ref oEmpty, ref vPost, ref vHeaders);

Trying to get a window like a dialogue box, not resizable.
Window with close button only. No minimize/restore button on right top.

Is this a web app?
I'm kinda lost , if not a web app, why don't simply use a regular dialog?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top