Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

WndProc -- msg value for Uninstall?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob R. Ainscough - 24 Jul 2006 22:00 GMT
I'm using WM_QUERYENDSESSION (&H11) but need to also close my app when the
Uninstall is initiated -- what message value do I need to check?

Thanks, Rob.
Dmytro Lapshyn [MVP] - 26 Jul 2006 08:20 GMT
Hi Rob,

I'd say it's rather the uninstaller's task to check whether a running
instance of your app is present, and if that's the case, ask it to close.
You can use the named mutex technique to detect whether an instance of your
app is running in a pre-uninstall custom action.

I understand I am being quite succinct, please don't hesitate to ask me to
elaborate should you need more detail.

Signature

Regards,
Dmytro Lapshyn [MVP]
http://blogs.vbcity.com/DmytroL

> I'm using WM_QUERYENDSESSION (&H11) but need to also close my app when the
> Uninstall is initiated -- what message value do I need to check?
>
> Thanks, Rob.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.