Crystal Reports 4.6 Export Report To File button

Started by Randem, February 16, 2012, 11:07:28 AM

Previous topic - Next topic

Randem

Ok, have you ever attempted to deploy your app on your development machine? If so that is a Big NO-NO and should NEVER be done. Use Microsoft's Virtual PC 2007 SP1 to create a clean installation of any OS that you want to test with and that way you can always start with a clean environment to test.
 
A lot of issues can be invented by deploying on your development machine...
 
Now if you are saying that your development code does not work... How did you test it?

johhnydontsurf

Yes...that is the case....doesn't work on my development machine...so of course when I test it I think it isn't active...but on the one deployed version it is fine.....

Randem

Are you saying that on your development machine it does not work and on a machine that you deployed it on it works?

johhnydontsurf

I actually have the app and the associated .mdb files in their own directory that is not under program files; it is directly under the root directory of my main drive. The one deployed version of the program I mentioned where the button works is installed under win7 and also has the app directly under the main drive. On my PC where it wont work I have not installed the app with the setup package I created, but when I run the .exe file the button still does not work. It only works from the Report Designer. VB6 is installed in Program Files(x86)/Microsoft Visual Studio/VB98 on my machine.

Randem

You did not waste my time. you obviously still have an issue in Win 7 and I would imagine that your database is deployed in your application folder and the application folder is in Program Files?
 
Unless you are only deploying on XP... You may still have other such issues.

johhnydontsurf

Sorry..just determined it must be vb6 install in win7; I just tested the one deployed package and the button works. Didn't mean to waste your time.
 
(Message edited by Johhnydontsurf on February 16, 2012)

Randem

How are you getting the data from the database? What kind of database? Access? JET 3.5 or 4.0? Most of the time it is what you did not deploy that is the problem. What did you use to deploy your app? Inno Setup, PDW, Wise???

johhnydontsurf

The report is pulling from a database. I saw the CR installation modules on your website but they all appear to be for versions way past 4.6! Is it one of those? I really appreciate your help.
Thanks,
John

Randem

The Automatic OS Updater will not help you if you issue is with displaying a fixed report that does not use a database. Is this correct? Now if you are talking after installation that is a totally different animal, then you will probably need to install the Crystal Reports installation modules.
 
Would need more detailed information...

johhnydontsurf

Hi-
In Report Designer the briefcase button works just fine for my report; but once I have the VB6 App up and running and output the report to a window, when I press the button nothing happens. I did install VB_VC_DCOM_MDAC_JET_AutoSetup.exe per a recommendation I saw online that indicates it would fix the problem, but after restart still no functionality. Any assistance would be greatly appreciated.
Thanks!
John