Skip to main content

[Migrated content. Thread originally posted on 16 June 2005]

Works great. Thanks so much for passing that on.

Patty :)

[Migrated content. Thread originally posted on 16 June 2005]

Works great. Thanks so much for passing that on.

Patty :)
If any error occurs when modifing the activex control, the entire application shutsdown.

Is there a way to setup a declarative or a stop so I can take back control of the program. Presently the system gives the error message and below it it also has cobol error called from xxxxxxx etc. As soon as you hit ok, the runtime is terminated.

Thanks
Patty

[Migrated content. Thread originally posted on 16 June 2005]

Works great. Thanks so much for passing that on.

Patty :)
i use these lines:

procedure division.
declaratives.
OBJECT-EXCEPTION-HANDLING SECTION.
USE AFTER EXCEPTION ON OBJECT.
OBJECT-EXCEPTION-HANDLER.
CALL "C$EXCEPINFO" USING ERROR-INFO, ERR-SOURCE,
ERR-DESCRIPTION, ERR-HELP-FILE,
ERR-HELP-CONTEXT.
END DECLARATIVES.


and you need the activex.def file.
Should work in the most cases.