473,811 Members | 2,869 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Explorer window with close button.

Opening a new explorer window.

IE = new InternetExplore rClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" + "\r";
vPost = ASCIIEncoding.A SCII.GetBytes(s trPostinfo);
IE.Navigate2(re f 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 2666
On Sep 5, 5:43 am, "Praveen" <prav...@newsgr oup.nospamwrote :
Opening a new explorer window.

IE = new InternetExplore rClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" + "\r";
vPost = ASCIIEncoding.A SCII.GetBytes(s trPostinfo);
IE.Navigate2(re f 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*****@newsgr oup.nospamwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Opening a new explorer window.

IE = new InternetExplore rClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" +
"\r";
vPost = ASCIIEncoding.A SCII.GetBytes(s trPostinfo);
IE.Navigate2(re f 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
5201
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 image. What I would like to create is a link that can be clicked on to close the window that contains the larger image. This would make it easier for the users to close the window. I have posted the script that I use. Any help would be much...
3
9879
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 explorer? I could a close window button and i could save the information when the users push this close button. Thank you.
4
1516
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
11593
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 http://weblogs.asp.net/asmith/archive/2003/09/15/27684.aspx but it was far more complex then I needed. (I got lost trying to figure it all out). Therefore, here goes my simple "web dialog box with parent event handler fireing" solution. ...
6
2892
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 will be greatly appreciated! --
1
5036
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 Server side data using AJAX</title> </head> <script>
37
6358
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, without getting a alert message that ask if u want to close the window. This did NOT happen in Internet Explorer 6, Mozilla firefox or other browsers.
2
9181
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 of the page which has this HTML button code onto a different page using document.write. Everything else works fine except for this print button. I have a close button using "window.close" that works fine but not this print button. Usually when the...
2
3158
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 message as in alert box as " Internet Explorer cannot open the Internet site http://google.citycarrentals.com.au/viewalllocations.php . Operation aborted". It is working in Mozilla . Here i mentioned my code . I am facing this problem several...
0
9722
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10379
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10393
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10124
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4334
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.