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

Invoke Crystal report 9 from VB

Status
Not open for further replies.

jadoogar

Programmer
Oct 23, 2003
61
IN
I have been using Crystal report 7 in VB for report.
Now I have migrated to Crystal report 9
but the earlier code
cr.Connect = "dsn=dsname;uid=" & wusn & ";pwd=" & wpwd & ";"

cr.ReportFileName = App.Path & "\reportname.rpt"
cr.PrintReport
cr is Crviewer object
is now not working
with new cr9 viewer object
cr9viewer1.Connect = "dsn=dsname;uid=" & wusn & ";pwd=" & wpwd & ";"

cr9viewer1.ReportFileName = App.Path & "\reportname.rpt"
cr9viewer1.PrintReport where cr9viewer is
crystal report 9 viewer object

What modification is required please

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top