Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Can't Create ReportDocument Object Post Reply Post New Topic
Author Message
KevinQ
Newbie
Newbie


Joined: 04 Apr 2011
Online Status: Offline
Posts: 3
Quote KevinQ Replybullet Topic: Can't Create ReportDocument Object
    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.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 06 Apr 2011 at 4:42am
Did you create the report inside the project or in Crystal outside of Visual Studio?
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.