Tuesday, February 14, 2012

Crystl32 ocx vanished ???

Hi. I'm puzzled. I can't reference to CR from within VB6. I have both
VB6 and VS.Net installed on my machine, and from VB.NET I can insert
the component Crystal Reports (which sets a refernce to C:\Program
Files\Common Files\Crystal
Decisions\1.0\Managed\CrystalDecisions.CrystalReports.Engine.dll which
is version 9.1.3300.0. However, from within VB6 I can't set any
reference to this dll.

I have not really used Crystal Reports from VB6 before, so I don't know
how to do it. I know for sure that it is possible to do it, though, so
I'm trying.

The client does not want to use .Net (actually, some of the machines
this little utility program will be installed on are running Win98), so
I need to use VB6.

I searched my drive for any OCX ressembling Crystal, and I couldn't
find anything. When I tried to reference the above-mentioned dll, VB6
says "Can't add a reference to the specified file". I thought that
maybe when I installed VS6 I forgot to install Crystal as an option,
but no, Crystal is not even mentioned in the installation routine.

Please tell me, how can I start producing a report from VB6 ?

>From within VB6/References I can only see (under "C") the dlls from

C:\Program Files\Common Files\Crystal Decisions\1.0\Managed\, which I
can't use. In other words, I can't find any CR COM object....

>From VB6/Components/Insertable Objects I only see Crystal Analysis

Common Controls 1.0. In VB6/Components/Controls and
VB6/Components/Designers, nothing.
I tried to browse my drive for anything ressembling CR, to no avail.
Please help...

Thank you very much, Alex.That is because the CR that is bundled with .NET is a lite version of CR. Not to mention that is is the .NET compatible version and should give the errors when trying to reference from a VB6 project. You need the Full version of CR so it will be available in either development environment.|||Yes, thank you, Rob, but it's still confusing: VB6 did not come with a crystl32.ocx (of some version, whatever that might have been) ? I do *NOT* want to necessarily use the .NET version - the old (vb6) version would do jut fine, in this particular case..

Thanks again for you time.
Alex.|||If you are using vb6 there still may be something you can do. On the VB6 CD there is a old version of the CR ocx. I think its Crystal.ocx or Crystal32.ocx version 4.6. I dont think its that powerful but if your only needing something basic it may help.

No comments:

Post a Comment