I have been using and installing on customer machines the DBGrid32.ocx from 1999 v. 5.1.81.4
There was a security update in 2012 for several VB6 components, which could be downloaded and installed.
I found out that there seems to be a bug in this DBGrid32.ocx from 2010 v. 5.1.98.13, which causes an error 3265 when referencing the column by it's field name rather than an index:
DBGrid1.Columns.Item("SomeField").Value
I always reference the column by the field name, so that if the query/table field order changes, all the references do not need to be changed.
The program has worked fine fpr years on hundreds of customers machines, because I always install the older version.
One of our newer customers uses GeoMedia, and this application also uses the DBGrid32.ocx. But the developers of GeoMedia have obviously downloaded the security package and distribute the newer Ocx - then my program stops working properly.
When the customer manually removes the newer ocx (de-register) and replaces it with the older one, all programs work fine again.
And, the customer should be required to do this, and is complaing about it.
GeoMedia confirmed their program will work with the older ocx, but rightfully says that they are using the newest version of the ocx.
However, that would be the case, if there was a further update of the ocx coming, which isn't the case. MS will evidently not be fixing this.
(There were similar problems with other ocxs, like the mscomctl.ocx, which MS did give a correction for.)
So, does anyone have an idea how to best handle a situation like this?
Maybe the older ocx could just be installed isolated?
Thank you for any help!
So, does anyone maybe have an idea how