Inhibit Close Button (x) on IE6 Browser

pts.
Tags:
VB.NET
I need to stop users from using the Windows Close (x) button on IE6. The application is VB.net WebForm based which accesses a mainframe transaction service via the browser.Is there anyway of making the windows close (x) unavailable to the user?

Answer Wiki

Thanks. We'll let you know when a new response is added.

I can’t imagine such a thing.
Can you imagine if there was, how the advertisers would love it.

I would ‘cache’ the transaction instructions in state until the final go.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • KarelVandenhove
    I'm sure this can be done. You should hook WM_QUIT in a WH_GETMESSAGE hook
    0 pointsBadges:
    report
  • Mcp111
    In Form_Queryunload event set cancel=true
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: