C++: void vtiDisableErrorDialogs(BOOL bYesNo);
VB: vtiDisableErrorDialogs(YesNo as Integer)
Description
This method allows you to turn off the display of any error message dialog boxes that might be caused by your OLE Automation calls. This is useful when creating automated processes which must run without human intervention.
NOTE: There is no way in the current version of FrontPage to get detailed information, such as an error code or error text, based on the error that would have been displayed if the error dialogs has not been disabled.
Return Value
None.
Parameters
YesNo specifies whether to turn error dialogs on or off. If this value is true, then all Explorer error dialogs will be suppressed until the object reference is released, at which time error dialogs are re-enabled.