Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Using "Close Group" to Close Multiple Copies Safely


Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2012, 05:11 AM
bobcory's Avatar
bobcory bobcory is offline
Contributor
 
Join Date: Jun 2003
Location: NW UK
Posts: 405
Question Using "Close Group" to Close Multiple Copies Safely


It is possible that a user of my application could have multiple copies running and minimized. If the user than right clicks on the Taskbar and clicks on "Close Group" it looks like they have all been closed but in reality (as Task Manager shows) they are still running

What I need is some way of ensuring that if a user does this the multiple copies are closed safely.

An alternative is to ignore "Close Group" and "Close" so that the user is forced to close them individually

One way might be via Form_QueryUnload but this does not seem to be fired when clicking "Close Group" and "Close" or maybe I am doing something wrong

Any thoughts as to the best way to solve this problem?
Bob
.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->