473,471 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Web Browser App Interface

ae
Does anybody know how to properly close the form, on a browser, and then exit
out of the browser?

I looked at MSDN and found nothing there.
Nov 18 '05 #1
2 1306
Hi,

Could you give some more information, I'm not sure what you are looking for.
If this is an ASP.Net app, then you can only close windows your app opens.
Your not allowed to close the browser window that the user opened to visit
your site. Also there isn't any way to "close" a form in a web page. Do
you want to submit the form? You can do that with a <asp:Button> server
control. To show the user they have exited the app you could then redirect
them to a page that lets them know they've finished the task.
Response.Redirect("Finish.aspx").

Or are you running a Windows Form app through a browser? Even with that I'm
pretty sure you can't close the browser itself, but I could be wrong on that
one. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"ae" <ae@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
Does anybody know how to properly close the form, on a browser, and then exit out of the browser?

I looked at MSDN and found nothing there.

Nov 18 '05 #2
You will have to do this in client side script (JavaScript). You cannot close
browser window from server script.

window.close();

"ae" wrote:
Does anybody know how to properly close the form, on a browser, and then exit
out of the browser?

I looked at MSDN and found nothing there.

Nov 18 '05 #3

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

Similar topics

17
by: gokul | last post by:
Hi, Iam a newbie to dotnet and I experience problems in using the Browser control in VB .net. Though Iam able to use it with its basic features, I need to customise it. ...
2
by: JohnFol | last post by:
I am trying to make use of BHO's (and no not to write spyware). It seems all articles relate to C++, whereas my background si in VB.Net I've managed to understand that I need the following i/face...
2
by: Thomas Storm | last post by:
Is there a method in JavaScript that will detect and return the coordinates of a mouse click? For example, if someone clicked the mouse within the browser window, the method would return...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
4
by: John Bowman | last post by:
Hi, How can I disable the right click capability of the Web Browser control that's on a form? I only want it to display the HTML, w/ no popup menu. TIA, -- John C. Bowman
8
by: Joe Johnston | last post by:
I need a Browser Helper object written in VB.NET Please point me at a good example. Joe MCPx3 ~ Hoping this MSDN ng three day turnaround is true. Additional info: What is a BHO? In its...
7
by: Robert | last post by:
Can I programmatically disable the right click context menu?
16
by: Alex Clark | last post by:
Hi All, I'm sure this must have been asked a million times due to it's usefulness, but are there any sensible solutions for disabling right click (and other services such as Ctrl+P, Browser...
11
osward
by: osward | last post by:
Hello everyone, My site needs to support 3 different languages that runs under phpnuke 8.0, phpnuke provides language interface select function that allows switching from different interface,...
4
by: Zoubidoo | last post by:
Many applications require a high-speed interface such as supermarket checkouts, busy points of sale, doctors' surgeries etc. The problem with graphical interfaces is that they are too slow for...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
1
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...
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.