Sorry, I do not understand what you mean with "Importing some API"
The RT must be able to instantiate a class named "CrystalReport1", else the line Dim objRpt As New CrystalReport1
cannot work.
Normally you would create such a class by adding a crystal report named "CrystalReport1.rpt" into your project. For VS 2003:
- Rightclick the project in the solution explorer
- Select "Add New Item"
- Select "Crystal Report" in the "Add New Item" Dialog, give it the name "CrystalReport1.rpt", finish with "Open".
- Follow the instructions in the Crystal Report "Wizzard" Gallery.
After this there is a report (=class) CrystalReport1 in your project that can be instantiated.