Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxPro V6.0 with Crystal Reports

Status
Not open for further replies.

wa8okr

MIS
Jan 18, 2001
12
US
I am new to using the Crystal Reports ActiveX control and would like some help in working with it. I have tried to use it on a form and it prints reports fine.

When I run my program from another machine it cannot locate something the control needs. I found a file with the name on my computer but when I copied it to the other computer it did not cure the problem.

I am not doing any report building in my application I just want to be able to print/preview existing reports automatically from my programs.

Can any body point me in the correct direction to solve this problem?

Thank you
Bill Hunt
 
The file name is Crystl32.OCX and it does not register when I use a setup program built with the FOxPro setup wizard.
I get an error message that Crystl32.OCX was unable to register itself in the system registry. I tried to use regsrv32 to perform this task and it produced the same error message.

Further investigation this AM revieled that The setup wizard generated process created a sub-directory in windows\system named the same as the sub-directory in the source directory for the wizard. I moved all of the .ocx and .dll files from the sub-directory to the input file root. I then re-built the setup.exe.

These measures corrected the problem by putting the .ocx and .dll files into the windows\system instead of windows\system\<SubDirectory>
 
Never tried it with FP. Hope that solves the problem. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top