PDA

View Full Version : Can I stop a build from another process?


kinook
04-08-2003, 09:03 AM
Yes -- Create a Run Script (http://www.kinook.com/VisBuildPro/Manual/runscript.htm) step with the VBScript code of:Set objShell = CreateObject("WScript.Shell")
If objShell.AppActivate("ProjectToStop.bld - Visual Build Professional") Then
objShell.SendKeys "^{Break}" ' send Ctrl+Break
End If