HighTechTalks DotNet Forums  

Updater Application block

Dotnet Distributed Applications microsoft.public.dotnet.distributed_apps


Discuss Updater Application block in the Dotnet Distributed Applications forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
dennisd45
 
Posts: n/a

Default Updater Application block - 06-13-2006 , 01:22 PM






When using the WaitForApplicationExitProcessor, a DOS window appears as soon
as the downloads are complete and needs to be closed manually. If not closed
manually, it will disappear on it's own once the application is closed. Is
there any way to hide this window from the user? I would like the update
process to be completely transparent to the user.

Thanks.

Reply With Quote
  #2  
Old   
lissbpp
 
Posts: n/a

Default RE: Updater Application block - 06-19-2006 , 10:46 AM






If you open up the WaitForApplicationExitProcess.cs file and add the
following line of code in the PrepareExecution method it will resolve your
problem:
psi.WindowStyle = ProcessWindowStyle.Hidden;

-brett



"dennisd45" wrote:

Quote:
When using the WaitForApplicationExitProcessor, a DOS window appears as soon
as the downloads are complete and needs to be closed manually. If not closed
manually, it will disappear on it's own once the application is closed. Is
there any way to hide this window from the user? I would like the update
process to be completely transparent to the user.

Thanks.


Reply With Quote
  #3  
Old   
dennisd45 via DotNetMonster.com
 
Posts: n/a

Default RE: Updater Application block - 06-19-2006 , 10:54 AM



Thank you, that resolved the issue.

lissbpp wrote:
Quote:
If you open up the WaitForApplicationExitProcess.cs file and add the
following line of code in the PrepareExecution method it will resolve your
problem:
psi.WindowStyle = ProcessWindowStyle.Hidden;

-brett

When using the WaitForApplicationExitProcessor, a DOS window appears as soon
as the downloads are complete and needs to be closed manually. If not closed
[quoted text clipped - 3 lines]

Thanks.
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...-apps/200606/1



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.