Highlighted
Absent Member.
Absent Member.
413 views

[archive] Error In Activex Causes Runtime To Quit

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

Works great. Thanks so much for passing that on.

Patty 🙂
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Error In Activex Causes Runtime To Quit

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
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Error In Activex Causes Runtime To Quit

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.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.