Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 11th, 2006, 10:00 AM
Authorized User
Join Date: Jun 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to rylemer Send a message via MSN to rylemer Send a message via Yahoo to rylemer
Default Exit or Close Internet Explorer

Hi Everyone.

How can I manipulate the exit or close button in the internet explorer. Let say click the [x] button or select the file close in the main menu. Because I am creating a temporary files in my web application I want to delete it after the transaction. I have already the code in deleting the temp. files using FSO my problem is how can I execute it when they hit the [x] and close button.

All your help will be appreciated.


Old July 12th, 2006, 07:21 PM
Friend of Wrox
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41

;;;How can I manipulate the exit or close button in the internet explorer
Not sure what you are asking here. In short, you can not.

;;;how can I execute it when they hit the [x] and close button
The only way I am aware of is to place an event inside the body tag. For descriptions and what they do go to http://www.w3schools.com/tags/ref_eventattributes.asp

If I may ask why do you need to write a temporary file and then delete it?

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer Bug? bobtrevor HTML Code Clinic 2 May 19th, 2006 09:09 PM
Internet Explorer cannot open the internet site cathiec ASP.NET 2.0 Basics 1 October 22nd, 2005 01:30 PM
Run macro when exit/close excel dgilford Excel VBA 1 September 8th, 2005 02:42 AM
Internet Explorer JelfMaria VB How-To 10 April 27th, 2005 03:58 PM
internet explorer issue ak Classic ASP Basics 2 September 29th, 2003 04:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.