Current location: Hot Scripts Forums » Programming Languages » Visual Basic » How to Open my Reports using Crystal Reports in VB6

How to Open my Reports using Crystal Reports in VB6

Reply
  #1 (permalink)  
Old
Newbie Coder
 
Join Date: May 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
How to Open my Reports using Crystal Reports in VB6

Please help me on how to call or display my reports in Crystal Report using Visual Basic?

Thank you very much..


Airprince
Reply With Quote
  #2 (permalink)  
Old
Newbie Coder
 
Join Date: Mar 2006
Location: Pune, India
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
hi Airprince,

use crystal report viewer control in vb form.
the use the following code :

Dim crlApp As New CRAXDRT.Application
Dim crlRep As CRAXDRT.Report

Set crlRep=crlApp.OpenReport(path of u r report file)

set CrystalReportViewer.Reportsource = crlrep

CrystalReportViewer.ViewReport
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load report failed - crystal reports v_ganeshraju ASP.NET 2 05-18-06 07:13 AM
logon failed for crystal reports rajita ASP.NET 3 03-31-06 08:55 AM
php+mysql+crystal reports kimenye PHP 1 09-15-05 11:03 AM
PHP + MySQL + Crystal Reports gudel PHP 0 08-10-05 01:31 AM


All times are GMT -5. The time now is 03:06 AM.
vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.