Sytze,

Registration of OCX files is, in my opinion, a bit of black magic. None 
of my advice, following, is based on scientific knowledge or computer 
science....just experience with about 5 different versions of the ct 
controls from DBI. Note that I don't think this is peculiar to DBI 
controls....just OCX files in general.

For example, you can't move the ctDate.ocx file to a new location 
(folder) without un-registering and re-registering it. And you can't 
un-register the file if it has already been removed (or moved from) the 
location it was in when you registered it.

What really makes it confusing is that the regsvr32 command will almost 
always report success.

I've found that some times the registration gets so messed up that 
searching for, and deleting, all of the registry entries is the only 
fix. After you clean all references to the OCX from the registry, 
re-register the file once and see if your app is happy.

If you do have multiple versions of the OCX file on your system, you can 
register each release version, and use them all, as long as you register 
them in different folders.

I would do all of the above, including the manual registry edit, while 
logged in with a supervisor account.

Hope this helps.

Mike

> Hi
> I use the ctdate.ocx in a number of my systems
>
> For some unknown reason, all these systems on my local pc are failing with
> an OLE error related to this ocx
> The LIC and OCX are stored in L:\
>
> I've exited to a CMD box and done the REGSVR32 (space) ctdate.ocx several
> times. It tells me the ocx was registered successfully
> But the apps are still failing
> I've run the CMD as an administrator and repeated above
> Same result
>
> I've rebooted (Windows 7)
> same result
>
> Does anyone have any ideas?
>

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to