Link to home
Start Free TrialLog in
Avatar of SynapcoCanada
SynapcoCanada

asked on

VB.NET and Crystal Reports

I added a new item to my VB.NET project (Crystal Report). It is called membersReport.rpt and I can see it in the Solution Explorer window. I have the following code in one of my forms

Dim myReport As New membersReport

The problem is that membersReport is not valid.

Any ideas on what I am forgetting ?
Avatar of aimfan
aimfan

Try this:
1)move .rpt file and acociated .vb file out of the project folder
2) remove the rpt file from the solution
3) readd the rpt file back to the sulotion

.vb file will be generated automaticly.

then you should be able to creat new report object

cheers
Avatar of SynapcoCanada

ASKER

associated .vb file?
ASKER CERTIFIED SOLUTION
Avatar of Rajesh Dalmia
Rajesh Dalmia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial