Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

running crystal reports in vfp when user does not have crystal

Posted on 2011-02-11
5
Medium Priority
?
825 Views
Last Modified: 2012-05-11
Hi:
I know I have done this before but forgotten how....I have some vfp reports using the activex crystal reports viewer. I want to roll this out to users who do not have crystal, but get class errors when I do so . I do not want to install crystal on every pc. I do have crystal developer. Does anybody know how I can get non crystal users to read crystal?
Thanks!
0
Comment
Question by:ClaytonGlass
  • 2
  • 2
5 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 34872330
You need to include the Crystal runtimes with the install.

You can get them here.  Be sure to get the correct version and SP level

http://resources.businessobjects.com/support/additional_downloads/runtime.asp

This link will help you map the SP level to your version
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12986

mlmcc
0
 

Author Comment

by:ClaytonGlass
ID: 34872455
Thank you very much, mlmcc.
I had looked at the first page; it appeared to refer to .NET applications. I had installed the CR redistributable 2005 but this failed to work; perhaps because vfp is not a .net app?
Nearly hometime in the UK but will look again over the weekend and report back.
Thanks again.
 
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34872722
Probably.  What version of Crystal are you using?

mlmcc
0
 
LVL 30

Accepted Solution

by:
Olaf Doschke earned 1000 total points
ID: 34878260
Yes,

VFP can only make use of ole/activeX, not of .et runtimes. In the Crystal World as far as I see this means you need RDC runtimes.

Here's a intro to crystal reports usage in VFP: http://fox.wikis.com/wc.dll?Wiki~IntroToCrystalReports
Scroll down to the end and you'll find a list of needed DLLs and two of them need to be registered:

craxdrt.dll
crpe32.dll
crviewer.dll
implode.dll
MFC42.dll
msvcirt.dll
msvcp60.dll
p2bxbse.dll

register two of them:
"regsvr32 crviewer.dll"
"regsvr32 craxdrt.dll"

Since Vista you need to either do this while UAC is turened off or create a .cmd batch file and right click on that and choose "run as administrator", even if your vista/win7 account is an administrator account!

Also note that your mileage may vary depending on the crystal reports version.

Bye, Olaf.
0
 

Author Closing Comment

by:ClaytonGlass
ID: 34886022
Thanks, Olaf. As sound as ever!
Thank you too, mlmc. I cannot offer points as you did not provide the full answer; but thanks for help in any event, much appreciated.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question