![]() |
Suppressing error message from Err.Raise
Is there a way to suppress the message "Error at Line x, Column y" when using Err.Raise?
I want to make a user action with vbscript code fail, but I don't like it, when it looks like an error in th scipt. |
Return a value of vbldStepStatFailed from the action's vbld_BuildStep method instead of raising an error. In VBScript:
vbld_BuildStep = vbldStepStatFailed http://www.visualbuild.com/Manual/userdefaction.htm |
That's just what I tried, but it doesn't work as expected:
Even when returning vbldStepStatFailed, the step is logged as "Completed" and Visual Build doesn't branch into the Failure Steps subroutine. I've tried to enter the code directly into a VBScript-Step and also by implementing it into a user-defined action, same outcome... I'm using Visual Build v5.5 |
That capability is new to v6.
|
All times are GMT -5. The time now is 11:19 AM. |
Copyright © 1999-2023 Kinook Software, Inc.