Securing Scripts and the Visual Basic Editor

One of the options you have when you enable environment protection is to restrict access to the Visual Basic Editor. If access is not restricted, the editor appears when a compilation error or a run-time error occurs, allowing you to correct the error.

However, when you restrict access, the iFIX WorkSpace suppresses the Visual Basic Editor even if an error occurs. Consequently, if you plan to enable this option, your scripts must have error-handling routines. Otherwise, an error message appears and the script terminates.