Reputation: 1026
I am new to clickonce application. From a global application we have buttons to launch other windows/usercontrols (*.exe, clickone, xbaps, etc.). When the global application shutsdown it is supposed to close all applications it has launched. For any other .exe or xbap, we always have a handle to close them but for click once we are facing some problems.
ClickOnce applications launched from our global app always have Window.
Question
Please note that I do not want to uninstall clickonce, I just want to close the clickonce app.
Thanks,
RDV
Upvotes: 0
Views: 488
Reputation: 1026
Figured out that ClickOnce apps have names and taskmanager shows the application name as "myclickonceapp.exe". Getting handle of this app, my global app could close the clickonce application.
Thanks,
RDV
Upvotes: 0
Reputation: 31
System.Windows.Application.Current.Shutdown();
Upvotes: 0