Skip to Content
author's profile photo Former Member
Former Member

Deployment of Visual Basic program in Windows Vista

I was using Crystal Reports X1 Development Edition to distribute a Visual Basic 6 Program, with attached Crystal reports (.rpt) files.

The distributed program worked fine on Windows XP, but crashed when installed on Windows Vista operating systems.

Following advice from my last thread, I then updated to CR XI release 2 and used the XI r2 merge modules:

CrystalReports11_5_RDC_License.msm dated 20/7/2008

CrystalReports11_5_RDC_Reportengine.msm dated 20/7/2008

CrystalReports11_5_RDC_Runtime.msm dated 20/7/2008

These were used in Visual Studio Installer 1.1 to make a .msi installer package to distribute to my users. (I also downloaded the latest CRViewer)

The Installer package failed to install correctly on a computer with Windows Vista, with the following error message:

u201CModule C:\Program Files\ExamPlanner\craxdrt.dll failed to registeru201D HRresult -2147024770 u2013 contact your support personnelu201D

I have a licensed copy of Crystal Reports X1 Development Edition, and I assume this covers release 2

The Licence Key code is imbedded in the VB code when loading CRViewer as follows:

Private Sub Form_Load()

Dim Application As New CRAXDRT.Application

Dim Report As CRAXDRT.Report

Application.SetLicenseKeycode ("The Key code is inserted here")

Set Report = Application.OpenReport(CRReport)

Screen.MousePointer = vbHourglass

CRViewer1.ReportSource = Report

CRViewer1.ViewReport

Screen.MousePointer = vbDefault

Set Report = Nothing

End Sub

Can anyone help?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2008 at 02:35 AM

    Subsequently I realised that my VB program was still using:

    Crystal ActiveX Report Viewer Library 11.0 as both a component and a reference, and

    Crystal Reports ActiveX Designer Runtime Library 11.0 as a reference

    I changed this to:

    Crystal ActiveX Report Viewer Library 11.5, and

    Crystal Reports ActiveX Designer Runtime Library 11.5

    I then re-compiled and rebuilt the Installer package, and it looks to be SUCCESSFUL!

    Thank you to everyone for your help!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.