Re: xp shell command using vba
From: Rob van Gelder (newsgroups_at_nojunkmail-vangelder.co.nz)
Date: 02/16/04
- Next message: Bill Hertzing: "Programming Array Formulas in VBA - Can they be intermediate results in RAM?"
- Previous message: Rob van Gelder: "Re: highlight cell as answer"
- In reply to: Sudhendra: "xp shell command using vba"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Feb 2004 18:56:04 +1300
In the Windows XP Resource Kit (i believe there is one for XP?) there should
be a process kill command line tool. If not, there are plenty on the web.
Use the Shell command to execute.
If you need VBA to wait until the Shell has finished, then do a Google
search for ShellWait.
Oddly enough, you might be able to find an API solution to process killing
by looking at examples that are related to ShellWait.
-- Rob van Gelder - http://www.vangelder.co.nz/excel "Sudhendra" <anonymous@discussions.microsoft.com> wrote in message news:9e2301c3eb3a$6801ba00$a001280a@phx.gbl... > Hi Everyone > > I want to kill windows xp process tree for a particular > process using VBA Shell Command. > > Detail Description: I am using code to produce PDF's and > due to come reason my memory is blocking and the printing > stops saying that "server threw an exception", with some > R&D I figured that Acrobat Process in Windows XP Task > Manager if exceeds 100,000K the acrobat is not able to > print Pdf's. > > Can anyone used/seen any code to kill the process tree > for a particular process.(I know that i need to use the > Shell commands but never used one) > > Please help me in writing the code .... thanks inadvance >
- Next message: Bill Hertzing: "Programming Array Formulas in VBA - Can they be intermediate results in RAM?"
- Previous message: Rob van Gelder: "Re: highlight cell as answer"
- In reply to: Sudhendra: "xp shell command using vba"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|