Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-03-2006, 06:38 AM
Dave_Novak Dave_Novak is online now
Registered User
 
Join Date: 04-13-2006
Location: Atlanta, GA
Posts: 64
StepStarted event not behaving as documented

According to the documentation (see http://www.kinook.com/VBP/Manual/ind...riptevents.htm), we are told “The StepStarted and StepDone events fire even if the step is skipped. Use conditional logic (VBScript syntax) like If Step.BuildStatus <> vbldStepStatSkipped Then ... to perform event logic only if the step was not skipped.”

I am handling the vbld_StepStartedProject() and I can tell you from experience that Step.BuildStatus is never vbldStepStatSkipped, even if the step is skipped. The only way I can find out if it is skipped is through the vbld_StepDoneProject event. Step.BuildStatus is correct in the StepDone event.

Here’s a snippet from my vbld_StepStartedProject() handler:

If Step.BuildStatus = vbldStepStatSkipped Then
' return now -- this step was skipped
Exit Sub
End If


Am I doing something wrong or is the documentation wrong?

Last edited by Dave_Novak; 08-03-2006 at 05:42 PM.
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 Off



All times are GMT -5. The time now is 02:24 AM.


Copyright © 1999-2023 Kinook Software, Inc.