F
fig000
Hi everyone,
I recently wrote a vb.net app which includes some crystal reports.
The user has very little money in their budget and have been without a
working application for quite a while. This being the case I worked
with what was available: I used vb.net and crystal 8.5. The crystal
reports are being viewed in the crystal report viewer which is still
included in vb.net. I went ahead with developing this project because
I found that crystal 8.5 works fine with vb.net. Or so I thought.
Everything works fine on my machine. However when I intall the app
on a user machine the vb.net part works correctly but the crystal
reports don't. When I try to bring up one of the reports an error
screen tells me that it can't find:
CrystalDecisions.Windows.Forms
In looking at the references in the vb.net project this makes sense.
What I've noticed is that the crystal viewer dll is in the bin
directory of my project but not the other crystal dlls.
I would like to finish this project without costing the user much
more money. I realize that I'm reaching for a kludge but I was hoping
that I could take the crystal dlls referenced in the project and
somehow install them on the user's machine (only two users). I had
read somewhere that dlls placed in the same directory as a vb.net exe
would be "findable" by default. However in looking at the paths of the
referenced crystal dlls, I find that they seem to have been installed
in crystal specific directories such as:
C:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalReports.Engine.dll
I don't know if they have to be in these directories on the user
machine to run. If I can put them in the same directory as the exe and
have them work, do I have to change the paths to the references in my
vb.net project?
Since my users and my manager hope to get this done quickly, I've
also considered installing crytal 8.5 on both user machines, hoping
this would put the right crystal components on the machines. I'm not
sure if this will work.
Ideally, I would like to get crystal 10 and merge the correct dlls
into my vb.net project using merge modules. It may come to that but
there is pressure to avoid this as it will add time and expense to the
project.
Any advice/suggestions. Any help will be appreciated.
Neil
I recently wrote a vb.net app which includes some crystal reports.
The user has very little money in their budget and have been without a
working application for quite a while. This being the case I worked
with what was available: I used vb.net and crystal 8.5. The crystal
reports are being viewed in the crystal report viewer which is still
included in vb.net. I went ahead with developing this project because
I found that crystal 8.5 works fine with vb.net. Or so I thought.
Everything works fine on my machine. However when I intall the app
on a user machine the vb.net part works correctly but the crystal
reports don't. When I try to bring up one of the reports an error
screen tells me that it can't find:
CrystalDecisions.Windows.Forms
In looking at the references in the vb.net project this makes sense.
What I've noticed is that the crystal viewer dll is in the bin
directory of my project but not the other crystal dlls.
I would like to finish this project without costing the user much
more money. I realize that I'm reaching for a kludge but I was hoping
that I could take the crystal dlls referenced in the project and
somehow install them on the user's machine (only two users). I had
read somewhere that dlls placed in the same directory as a vb.net exe
would be "findable" by default. However in looking at the paths of the
referenced crystal dlls, I find that they seem to have been installed
in crystal specific directories such as:
C:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalReports.Engine.dll
I don't know if they have to be in these directories on the user
machine to run. If I can put them in the same directory as the exe and
have them work, do I have to change the paths to the references in my
vb.net project?
Since my users and my manager hope to get this done quickly, I've
also considered installing crytal 8.5 on both user machines, hoping
this would put the right crystal components on the machines. I'm not
sure if this will work.
Ideally, I would like to get crystal 10 and merge the correct dlls
into my vb.net project using merge modules. It may come to that but
there is pressure to avoid this as it will add time and expense to the
project.
Any advice/suggestions. Any help will be appreciated.
Neil