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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb app can not connect and print report in Crys Rep 8.5

Status
Not open for further replies.

denko

Programmer
May 17, 2001
70
US
I had an Application that ran, previewed and printed report from VB.
Now i'm upgrading to version 8.5 and I can not find half of the properties that
were given with Crystal report component such as Action or all properties that were
used for Print Preview.
Is there a way to run and preview report without using CRViewer? If not what code do i use to run report?
Thank you
 
Go into your VB project and remove the old CRViewer control. Make sure you also remove the refrence to the viewer from your project. Then Choose 'Add Crystal Reports 8.5' off the project menu. Then choose existing report and browse for the report file. The wizard will ask wheter you want to add a form containing the viewer control, Say YES and whether to make this form the startup object, Say NO. The report will be added to your project and a form will be added that will automatically preview the report in it's form load event. All you have to do is show that form from the button click or whatever event is calling the report now. Ruairi

Could your manufacturing facility benefit from real time process monitoring? Would you like your employees to be able to see up to the minute goal and actual production?
For innovative, low cost solutions check out my website.
 
I never had Viewer in the app.All I had was Crystal Control that POints to db file and I used Action =1 .
That previewed and printed report.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top