Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Normal shutdown of process

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,37948
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Normal shutdown of process
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Normal shutdown of process - 9/20/2006 6:24:53 AM   
  caryma77

 

Posts: 27
Score: 0
Joined: 9/19/2006
Status: offline
I need to know how to shutdown a process instead of killing it.
 
 
Post #: 1
 
 RE: Normal shutdown of process - 9/20/2006 6:25:48 AM   
  mikeock


Posts: 124
Score: 1
Joined: 6/8/2006
Status: offline
Can you explain a little further?
What have you tried so far?

_____________________________

My sig sucks!

(in reply to caryma77)
 
 
Post #: 2
 
 RE: Normal shutdown of process - 9/20/2006 6:38:19 AM   
  caryma77

 

Posts: 27
Score: 0
Joined: 9/19/2006
Status: offline
I don't want to kill the process by using the terminate command.  I want it to go through a normal shutdown.

(in reply to mikeock)
 
 
Post #: 3
 
 RE: Normal shutdown of process - 9/20/2006 6:58:53 AM   
  caryma77

 

Posts: 27
Score: 0
Joined: 9/19/2006
Status: offline
Thanks for your quick response.  What I am trying to do is instead of killing the process that is running I would like to find away using vbscript to have the process go through a normal shutdown.  I don't want to use the terminate function because that kills the process. I hope I am clear at what I am looking for.  Sorry if I am not I am trying to explain it without confusing myself.

Thanks in advance,

Caryma77

(in reply to caryma77)
 
 
Post #: 4
 
 RE: Normal shutdown of process - 9/20/2006 8:14:58 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: online
Doing what you want is very process dependant. For some processes, the application exposes an API that you can run code against to shut down the application in a nice safe fashion (i.e. MS Word). For others you would need to grab the application's window and use sendkeys to shut it down using the aplication's GUI. For still other applications, there is no window to grab and you have no choice but to simpl kill the process.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to caryma77)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Normal shutdown of process Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts