Hi all.
When I run my VB6 application, I got this error below,
Compile Error: Method or data member not found.
And it points to my Crystal Report method which is,
What I need to do to solve this prob ? Do I need to add any references?
Thanks.
Printable View
Hi all.
When I run my VB6 application, I got this error below,
Compile Error: Method or data member not found.
And it points to my Crystal Report method which is,
What I need to do to solve this prob ? Do I need to add any references?
Thanks.
Its because you are missing at least 1 reference.
Sounds like maybe you dont have CR installed?
I have CR installed in my pc.
Crystal Report 8.5 Developer.
Open up your references and see if it shows any checked references tagged with a prefix of "MISSING:".
If not then you need to determine which reference the method is located in so you can add it.
There is no any missing references.
How to determine the reference of the method ?
You have to go through your CR code that you wrote and find what dependancies each object has. Its in the Runtime.hlp file. What CR code does it point to? Your first post doesnt show any code.
It points to the Destination.Code:CrystalReport1.Destination = crptToWindow
So do u have any idea what reference I need to add?
It isn't looking for a reference, it is looking for an actual CR Control to be on the form. Do you have that control in your toolbox?
If not, then you will need to add it through the components interface.
What control do I need to add ?
Those are the controls that I tick in the controls tab:
1. Crystal Report Control
2. Crystal Report Viewer Control
3. Crystal Select Expert OLE Control Module
What else did I miss to have it ticked ?