Newbie: CR9 & VB 6 
Author Message
 Newbie: CR9 & VB 6

Hi all,

I have created my report in CR and am ready to display it in my form,
however I can't seem to find any samples to work, everything I find seem to
relate to 8.0 and older.

Is there a FAQ around to help me with this?

If I can get it to display I can play with it from there,

Any help would be appreciated.

--
Jay Calvert
Please post to group so that others can benefit



Mon, 22 Aug 2005 03:27:04 GMT  
 Newbie: CR9 & VB 6
Place a Crystal Report Viewer (name as crViewer) on your form.

Then use following code:

Dim oApp As CRAXDRT.Application 'Crystal Reports' Applicaion Object
Dim MyRpt As CRAXDRT.Report 'Crystal Reports' Report Ojbect

Set oApp = Nothing

 Set oApp = New CRAXDRT.Application

 'Get Crystal Report you have created
 Set MyRpt = oApp.OpenReport(App.path & "\Reports\Sample.rpt", 0)

crViewer.ReportSource = MyRpt
crViewer.ViewReport

'Hope this will help


Quote:
> Hi all,

> I have created my report in CR and am ready to display it in my form,
> however I can't seem to find any samples to work, everything I find seem
to
> relate to 8.0 and older.

> Is there a FAQ around to help me with this?

> If I can get it to display I can play with it from there,

> Any help would be appreciated.

> --
> Jay Calvert
> Please post to group so that others can benefit



Mon, 22 Aug 2005 06:32:27 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Newbie CR9 and viewing with IE5

2. Problem connecting to a recordset CR9 & VB6

3. Sql Server & CR9

4. CR9 & ealier versions

5. CR8 & CR9 SuReport in SupReport , Help Me

6. CR9 & XP : generating ttx file off recordset

7. Load Report Failed in deploying CR9 + VB.NET application

8. CR9 - Merge modules for installation with VB 6 Application

9. Dynamic Images in VB.NET and CR9?

10. Installation of VB app using CR9

11. Newbie: Outlook Contacts & VB

12. Newbie Help Question - VB & Outlook

 

 
Powered by phpBB® Forum Software