Alexradu
October 1st, 2005, 08:30 PM
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.
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.