Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Distributing CR Viewer with MSAccess Runtime app

Distributing CR Viewer with MSAccess Runtime app

Distributing CR Viewer with MSAccess Runtime app

CR 8.5 Dev
Access 2000
Access 2000 Runtime
NT 4.0 sp5

I'm trying to determine whether I can distribute an Access 2000 app inclusive of the ActiveX CRViewer object.
I've shelled out for developer versions of both CR 8.5 and Office 2000 and now want to make something-simple work.
I've created a simple Access app with a single form, which includes the CRViewer; it works just fine on the design PC (which has Crystal already installed).
I have attempted to simply run the app on a PC with a full version of Access (but no Crystal Reports at all), I copied craxdrt.dll & crviewer.dll into the same dir path's as the PC it was designed on.

'Code behind the form **********************
Dim crApplication As New CRAXDRT.Application
Dim crReport As CRAXDRT.Report

Private Sub cmdViewReport_Click()

Set crReport = crApplication.OpenReport("\\Server\Share\sample.rpt")

CRViewer1.ReportSource = crReport
CRViewer1.EnableGroupTree = False
CRViewer1.DisplayGroupTree = False
CRViewer1.EnableExportButton = True
CRViewer1.Height = 18500
CRViewer1.Width = 13000

End Sub
'Code Ends *********************************

When trying to execute cmdViewReport I receive the error: "ActiveX component can't create object"
The CR library objects are visible on the target PC, but it looks as if the libraries themselves just haven't "stuck".

I know I'm missing something truly obvious..
Has anyone successfully distributed the viewer on Access?
The Crystal site has little info on MSOffice integration.

Any help would be greatly appreciated,



RE: Distributing CR Viewer with MSAccess Runtime app

Sorry to bug you all...
I had forgotten to register the dll's, now everything is just peachy, and I tried it in a runtime environment with similar success.

Thanks & Sorry,


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close