Re:BCB6 and ActiveX import problem
Hi,
Quote
> Just tried that, but it did not help. Does BCB typically have problems
> importing ActiveX controls written in VB?
BCB4 used to ignore CanCreate being false. BCB5 started to recoginize
it and then that became a notorious problem because many VB controls
apparently had that flag set false.
Quote
> little lost... I will try anything. Any other ideas out there?
I'd suggest making sure you are getting the latest and greatest
import. If you have been trying many imports of the control,
you might have multiple copies of the import code. What should
happen after you import by default is that the ..\Imports
directory will have a:
<ControlName>_TLB.h
<ControlName>_TLB.cpp
<ControlName>_OCX.h
<ControlName>_OCX.cpp
Do the times and dates of those files appear to be the latest?
And make sure the package project is really using those
and not some other copy.
If you had started to change options in the import dialog then
the default palette page might change from 'ActiveX' to something
else. Sometimes if controls are not showing up they might actually
be installing into tabs (pages) other than the new intended one and
you need to look at the options in Tools | Environment Options
| Palette to make sure there is not an old tab referenced. Also,
it is even possible that a control was accidentally marked 'Hide'
there if you had been using that Enviornment Options page to
attempt to remove previous failures.
--Craig