Skip to main content

I am required to check whether Webview2 runtime is installed on the system. Is any utility available with AcuCobol 10.5.1

to check this, Or am I required to create a DLL to accomplish the task? Please advise.

Thanks,

Aji Cherian

I am required to check whether Webview2 runtime is installed on the system. Is any utility available with AcuCobol 10.5.1

to check this, Or am I required to create a DLL to accomplish the task? Please advise.

Thanks,

Aji Cherian

Aji Cherian  - your question has been posted to the wrong group. I will move it to the Cobol area!


Aji Cherian  - your question has been posted to the wrong group. I will move it to the Cobol area!

Sorry for the error Caroline. Thanks.


Sorry for the error Caroline. Thanks.

no problem at all!


I am required to check whether Webview2 runtime is installed on the system. Is any utility available with AcuCobol 10.5.1

to check this, Or am I required to create a DLL to accomplish the task? Please advise.

Thanks,

Aji Cherian

Good morning, Aji Cherian .

Thank you for having posted this question to the AcuCOBOL Community.

Unfortunately, there's no native ACU feature which may help you to identify whether the WebView2 control is already installed on the machine.

But you can use alternative ways, such as reading the WebView2 registry information using the Windows Registry Routines (REG_QUERY_VALUE, DISPLAY_REG_QUERY_VALUE) provided with the runtime:

ACUCOBOL-GT Version 10.5.1 Documentation Set; Appendices; Appendix I. Library Routines; General Syntax and Library List; Windows Registry Routines
https://www.microfocus.com/documentation/extend-acucobol/1051/extend-interoperability-suite/BKPPPPLIBRS143.html

The registry keys to search for are available on-line in various web sites.
For example:

Distribute your app and the WebView2 Runtime
https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution

Looking forward for your feedback.


Good morning, Aji Cherian .

Thank you for having posted this question to the AcuCOBOL Community.

Unfortunately, there's no native ACU feature which may help you to identify whether the WebView2 control is already installed on the machine.

But you can use alternative ways, such as reading the WebView2 registry information using the Windows Registry Routines (REG_QUERY_VALUE, DISPLAY_REG_QUERY_VALUE) provided with the runtime:

ACUCOBOL-GT Version 10.5.1 Documentation Set; Appendices; Appendix I. Library Routines; General Syntax and Library List; Windows Registry Routines
https://www.microfocus.com/documentation/extend-acucobol/1051/extend-interoperability-suite/BKPPPPLIBRS143.html

The registry keys to search for are available on-line in various web sites.
For example:

Distribute your app and the WebView2 Runtime
https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution

Looking forward for your feedback.

Thank you for your suggestion.