Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Frequently Asked Questions > Scripting
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-08-2003, 09:03 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Can I stop a build from another process?

Yes -- Create a Run Script step with the VBScript code of:
Code:
Set objShell = CreateObject("WScript.Shell")
If objShell.AppActivate("ProjectToStop.bld - Visual Build Professional") Then
	objShell.SendKeys "^{Break}"    ' send Ctrl+Break
End If
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT -5. The time now is 05:39 PM.


Copyright © 1999-2023 Kinook Software, Inc.