VB Crystal Report >> VS.NET Crystal Corrupted by Full Install of Crystal 10?

by ZRexRider » Sat, 30 Apr 2005 08:02:10 GMT

Hi,

I created an application for a client using my workstation that had no
installation of Crystal Reports - just the Crystal.NET that came with
Visual Studio. No problems.

A year later i've purchased and installed Crystal Reports 10 for an
MS-Access application used for another client. This was installed on
the same workstation as my VS.NET.

My first customer was having a problem with a report (in the .NET
application). I opened this and tried to open the report associated
with it and (through visual studio project) and it displays like a hex
dump. It's as if the file wasn't recognized.

I've never opened these reports using the Crystal Reports 10 Designer
so I have no idea why VS.NET won't open them. I don't want to allow
Crystal 10 to mess these reports up because the .NET customer does not
have an installation of crystal on their server. However, Crystal 10
can read these reports w/o problems.

Any ideas

Thanks



Similar Threads

1. Installing Crystal Reports 10 and Continue to use the VB.Net Version Question

Hello,

I have a VB.Net 2003 project that I have a number of crystal reports 
embedded in the project.  I installed Crystal Reports 10 a little while ago 
and upgraded all the reports. Ever since I did the upgrade I had been 
getting an error so I uninstalled VB.Net and Crystal Reports 10.  I then 
reinstalled VB.Net, rewrote the reports with the version of Crystal that 
came with VB.Net and everything seems fine again.

My problem is that I have another project that requires that I use VB.Net 
and an external Crystal 10 report.  My question is can I install Crystal 10 
and then use the version of Crystal Reports that came with VB.net for the 
first project and use Crystal 10 and VB.Net in the second project? Does 
Crystal 10 overwrite ANY of the VB.Net Crystal dll's or any other files?

My concern is that I have the first project completed but if I need to make 
any changes and recompile after installing Crystal 10 I will get the 
original error again.

Thank You,
Richard Thornley 


2. Crystal Reports .NET and Full Version of Crystal - VB.Net

3. Installing Crystal Report 10 Run-time on a windows 98 PC

Hi,

Is there any possiblity to install the application developed using
VB.NET & Crystal Report 10 on a Windows 98 PC? I've supplied all the
required merge modules except Unicode :( I don find merge module for
Crystal Report 10, where in it is available for Crystal Report
9(Unicows.dll).

Can anybody give me solution on this?

Thanks in Advance
Saravanan

4. crystal enterprise 10 install help - VB Crystal Report

5. A Boolean is required Here when migrating from Crystal 8.5 to Crystal 10

6. EMail from Crystal RDC and Crystal 10 - VB Crystal Report

7. How to view Crystal Reports Version 10 on Crystal Enterprise Folde

1.  Create a NEW Standard Exe in VB (I use VB6)

2.  Click Project, click References and select:
	(I use Crystal 9)
	--- Crystal Report Viewer Control 9 
	--- Crystal Reports 9 ActiveX Designer Design and Runtime Library
	--- Crystal Reports 9 ActiveX Designer Run Time Library
	Click OK

3.  Click Project, click Components and select:
	---  Crystal Report Viewer Control 9 
	Click OK   (this will add a small CRViewer9 icon under the General tab on 
your ToolBox

4.  Name your form:  frmMain...
	---put two command buttons on it
	---name one command button:  cmdYourReportName
	---change its caption to:  Y&our Report Name
	---name the other command button:  cmdExit
	---change its caption to:  E&xit
	---rightclick on the form, select View Code and add this code:
	
	Private Sub cmdExit_Click()
    	Unload Me
    	End
	End Sub

	Private Sub cmdYourReportName_Click()
    	frmYourReportName.Show
	End Sub

5.  Add a new form to your project...name it:  frmYourReportName
	---change the WindowState to:  2 - Maximized
	---double-click the CRViewer9 icon (under the General tab on your ToolBox)
	---that just added a viewer to frmYourReportName

6.  Change the (Name) of this viewer from CRViewer91 to:  YourReportName
	---put a command button on frmYourReportName 
	---move it to:  LEFT 7000   TOP 0  (that will place it in a good position 
when you run the report)
	---name it:  cmdExitToMain
	---change the caption to: E&xit to Main

8.  Rightclick viewer and select  View Code
	---in the code window, paste this code:

	Private Sub cmdExit_Click()
    	Unload Me
	End Sub

	Private Sub Form_Load()
    	Dim Appl As New CRAXDRT.Application
    	Dim Report As New CRAXDRT.Report
    	YourReportName.Top = 0
    	YourReportName.Left = 0
    	YourReportName.Height = 12336
    	YourReportName.Width = 15408
    	Set Report = Appl.OpenReport("Y:\Reports\YourReportName.rpt")
    	YourReportName.ReportSource = Report
    	YourReportName.ViewReport
	End Sub
	
	***Obviously, you need to use the correct path and file name for YOUR 
report***

9.  Close these forms.

10. Click Project, select Project1 Properties.
	---change the Project Name to:  Toms_Wonderful_Program
	---change Startup Object to:  frmMain
	
11. SAVE

12. Run the program
	---once it is up, click the "Your Report Name" command button
	---your report will run (it will ask for parameters is needed)
	---to close it, click the "Exit to Main" command button

13. Just add new command buttons (to frmMain) for each new form with a 
CRViewer (remember to change the names accordingly) for each report you want 
the others to access.

"Luqman" wrote:

> I am newbie and want to centralize the RPT Files so that evey client can
> view it through Visual Basic.
> 
> I have installed Crystal Enterprise on Server and put all the RPT Files
> there, now how can I view such reports through Visual Basic, any example
> will be appreciated.
> 
> Best Regards,
> 
> Luqman
> 
> 
> 

8. Converting from Crystal 7 to Crystal 10 - VB Crystal Report