473,395 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Explorer window with close button.

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

Sep 5 '07 #1
2 2653
On Sep 5, 5:43 am, "Praveen" <prav...@newsgroup.nospamwrote:
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)

Sep 5 '07 #2
Hi,

"Praveen" <pr*****@newsgroup.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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?
Sep 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steve | last post by:
Hi, I have a nice little script that works well displaying images on my website. It's a script where if you clik a thumbnail image a pop up window opens that contains a larger version of the same...
3
by: JCharlie | last post by:
hi all. I´ve a problem with x button on internet explorer. Some users fills an informative form, they push x button and i don´t save the information. How can i disable the x button on internet...
4
by: Justin | last post by:
Hi, I would like to ask how I can close the whole IE program when I click on a button in my aspx page, which is something like: application.exit() thanks in advance...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
6
by: Sandy | last post by:
Hello - I have a little application that I would like to have an exit button on that closes my web application and closes Internet Explorer. What is the code that will do that? Any help...
1
by: mubarak basha | last post by:
hi, i wrote the following coding.......... <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Getting...
37
by: Jan Tovgaard | last post by:
Hey everyone:) We have a critical problem, which I can see that other people also has ran into. In Internet Explorer 7 it is no longer possible to do a window.close after opening a window,...
2
by: =?Utf-8?B?RGlmZmlkZW50?= | last post by:
Hello All, I am trying to offer "Print" functionality using an HTML button with the help of "window.print()" This button works fine in Firefox but not in IE7. I am dumping the entire content...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.