Print Page | Close Window

Can't Create ReportDocument Object

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12818
Printed Date: 01 May 2024 at 1:02pm


Topic: Can't Create ReportDocument Object
Posted By: KevinQ
Subject: Can't Create ReportDocument Object
Date Posted: 05 Apr 2011 at 12:05pm
I have created many reports in Win 32 project - now trying to do this for first time in ASP.Net.
 
I cannot create the report object.
 
I add a report to the project called "CrystalReport1."
 
I then should be able to write the following line of code in VB:
 
Dim MyReport as New CrytalReport1.
 
However, "CrystalReport1" is not an option.  If I type it in anyway it says that this type is not defined.
 
Is there some step I am missing. CrystalReport1 shows up in the project menu. Any help would be appreciated.



Replies:
Posted By: hilfy
Date Posted: 06 Apr 2011 at 4:42am
Did you create the report inside the project or in Crystal outside of Visual Studio?
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window