Jump to content

Recommended Posts

Posted

Thanks @ptrex

...from what you can read on the OrdoWebView2's control description page it seems that all the necessary dependencies should be installed by OrdoWebView2ControlRedistributable.exe.

literally:

"In the "Redistributable" folder, OrdoWebView2ControlRedistributable.exe is used to install the control and its dependencies on a client machine. Launched with the /verysilent option, this program can be integrated into the installer of your own solution."

in truth at first glance I couldn't find that executable on the HD, but then I saw that it is present with a slightly different name and that is OrdoWebView2ControlRedistribuable.exe, the name ends with "...Redistribuable.exe" instead of "...Redistributable.exe", a "t" is missing in the file name.

however even manually running that file doesn't seem to solve the problem... 

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted (edited)

Long time ago some posted a VB Wrapper for the controls

To run them you need to install the VB6 Controls Runtime Plus 2.2 Dependency files:

https://sourceforge.net/projects/vb6extendedruntime/

You only need this to install (not the rest !!)

image.png.aeff176402f8716935d9dc88ae27e3d2.png

Once installed you can run the included AU3 Example scripts :

image.png.f9b8eed470edb20a09193d522f08af57.png

image.png.f3b5172830ff07ee36b236f4ddb1236d.png

I guess once you have installed the VB6 runtime control you can get the Edge Wrapper to work as well...

Success

 

_VB Controls.zip

Edited by ptrex
Posted

Hi Ptrex, thanks for this post,
by installing the material you posted I was only able to run the examples contained in it, but unfortunately OrdoWebView2.ocx continues not to work.
Although the variable $oWebView2 in my script above is an object, it seems not to "contain" the reference to the Webview2 control. Probably the instantiation of WebView2 by the OCX fails ...(?)
What is strange is that the example program Test.exe included in the directory \OrdoWebView2Control\ which also contains OrdoWebView2.ocx works regularly, therefore all the "dependencies" that are needed should already be present.
In addition, in this post (https://www.vbforums.com/showthread.php?899415-OrdoWebview2-ActiveX-WebView2-Browser-Control-(Replacement-of-the-MS-browser-control)&p=5651133&viewfull=1#post5651133) on the site "vbforums", it is written which are the essential files for the OrdoWebView2.ocx control to work.
What a pity that there are always problems in getting something to work. 

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

@Gianni

Apparently if you read through the documentation there are more dependencies needed ...

https://www.vbforums.com/showthread.php?899415-OrdoWebview2-ActiveX-WebView2-Browser-Control-(Replacement-of-the-MS-browser-control)

They have built a custom vbRichClient based on the RC6, that is built with VB6 and has a few DLL's to download first

https://www.vbrichclient.com/#/en/Downloads.htm

Next you need to register a few COM components from the downloaded DLL's.

It also has to the WebView2Loader.dll in there that is needed...

For more info best go to the VB forum to see some example scripts to do some trial and error...

 

Posted

Hi @Danyfirex, thank you so much for this script!
Now I have put in the same directory as your script the folder \OrdoRC6 and the file OrdoWebView2.ocx (I also registered OrdoWebView2.ocx with the command "regsvr32 OrdoWebView2.ocx" from an admin prompt) and everything works like a charm.
Thanks again for this "Easter gift" I will play with it in the next days. 
You are great! :)

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted (edited)
On 4/18/2025 at 5:55 PM, Danyfirex said:

Is the OrdoRC6 folder needed or is only the ocx enough to be compiled with the program?

edit:

some of files are needed, OrdoRC6 folder do not be renamed 😔

 

How to prevent show this message without create OrdoWebView folder in ProgramData ?

 

image.png.9f27c2c30abebd8f7f89f061b2a688fe.png

 

Edited by Parsix

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...