2024-09-27, 14:25:21
We have an existing Foxpro application where we are looking to replace the oleWebbowser that is packaged with vfp with Antview. We have established that it provides the functionality that we require however I am having an issue with its installation on client machines.
I have the 32 bit antview.ocx on my development machine under C:\Program Files (x86)\AntView\Win32.
For our client machines we have number of ActiveX controls, therefore using a well know Installation builder we have them all installed and registered in a folder C:\Program Files (x86)\Common Files\ ... \Components.
I have therefore updated the installer project to put the AntView.ocx in this folder and am putting the WebviewLoader.dll in same folder as our exe.
I have verified that the antview.ocx is installed on the clients machine and that it has been registered correctly, and that WebviewLoader.dll is in the folder of the exe, however when I launch a formhat has the antview control on it I get the message cannot find C:\Program Files (x86)\AntView\Win32.ocx.
If I copy the antview.ocx from the location it has been installed C:\Program Files (x86)\Common Files\ ... \Components to the a location that I have created which matches its location on my development machine C:\Program Files (x86)\AntView\Win32. The form displays corrected and allows me to view the required webpage.
Since the antview control has been registered to the location folder C:\Program Files (x86)\Common Files\ ... \Components, I am confused why the form is looking for the ocx in the location C:\Program Files (x86)\AntView\Win32.
I realise that this is the location stored in the form ( when the control is added to the form during development) , but looking at forms with other ActiveX controls, they also have the location of the control on the development machine, but use the location of the registered control on the clients machine.
I am wondering if there are any suggestions / solutions for this issue
I have the 32 bit antview.ocx on my development machine under C:\Program Files (x86)\AntView\Win32.
For our client machines we have number of ActiveX controls, therefore using a well know Installation builder we have them all installed and registered in a folder C:\Program Files (x86)\Common Files\ ... \Components.
I have therefore updated the installer project to put the AntView.ocx in this folder and am putting the WebviewLoader.dll in same folder as our exe.
I have verified that the antview.ocx is installed on the clients machine and that it has been registered correctly, and that WebviewLoader.dll is in the folder of the exe, however when I launch a formhat has the antview control on it I get the message cannot find C:\Program Files (x86)\AntView\Win32.ocx.
If I copy the antview.ocx from the location it has been installed C:\Program Files (x86)\Common Files\ ... \Components to the a location that I have created which matches its location on my development machine C:\Program Files (x86)\AntView\Win32. The form displays corrected and allows me to view the required webpage.
Since the antview control has been registered to the location folder C:\Program Files (x86)\Common Files\ ... \Components, I am confused why the form is looking for the ocx in the location C:\Program Files (x86)\AntView\Win32.
I realise that this is the location stored in the form ( when the control is added to the form during development) , but looking at forms with other ActiveX controls, they also have the location of the control on the development machine, but use the location of the registered control on the clients machine.
I am wondering if there are any suggestions / solutions for this issue