Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Antview ocx manifest file that will work for reg free Com in VB6
#8
(2025-02-10, 17:37:56)Batduder Wrote: Thanks Wil.  I am seeing the same thing.  I can easily register the control manually and then it works fine. I also used your register program and that works fine too.  But if I try the manifest method, Microsoft Visual Foxpro is never happy and it cannot find the control.  For now I am calling your register program (with elevation) from my software-patch code. It's a bit awkward because there are two choices (1.1 and 2.0) but it DOES work.

I still am running into two problems that makes it hard to choose which control to use:

1. Version 1.1 gives a javascript stack overflow error when you pass an address to google maps via a URL

2. Version 2.0 leaves a large gray area on top of the Foxpro form when you open it.  It appears that Foxpro has trouble with the first-time render.  The control, in my app, is supposed to be on a tabbed control page (in Foxpro it's a "pageframe" control) but appears outside the pageframe with the proper offsets but from the top left of the form, NOT the top left of the pageframe page.  Once you go to the page that has the control, this all fixes itself until you close and re-open the form again.  I have a feeling the .ocx control does not do this but I will confirm.
A follow up on the above as we've taken the discussion further by email.
We don't know why FoxPro applications do not want to work with reg free manifest. For now, we've created a command line interface to the RegisterAssistant application which allows the customer to more easily register the control without having to use an installation script.

We've been unable to reproduce the javascript stack overflow using a URL provided. For the moment, we're chalking it up on something specific related to the customer environment. AntView does not really touch the javascript engine in the control, so why it would work different with version 2 is a mystery. If you encounter this, we would suggest deleting the profile data (see UserDataFolder) and try again.

The first time render issue in the FoxPro IDE when the AntView control is in a pageframe control is still open.
The customer worked around it by moving the control off screen and position it on opening the tab.
--
Wil
Reply


Messages In This Thread
RE: Antview ocx manifest file that will work for reg free Com in VB6 - by wila - 2025-02-11, 14:41:12

Forum Jump:


Users browsing this thread: 1 Guest(s)