Before you create a Windows
Project, verify that Crystal Reports for Visual Studio has been installed on your system. For more
information, see
What Needs
to be Installed?.
- Launch
Visual Studio.
- From
the File menu, select
New, and then click
Project.
- In the
New Project dialog box, select a
language folder for C# or Visual Basic from the
Project Types list.
- From
the Templates list, click
Windows
Application.
- In the
Name field, replace the default
project name with the name of your project.
- Click
OK.
Your project opens in Solution Explorer
and contains a Form1 class.
- Open
the Form1 class.
- From
the Toolbox, open the
Crystal Reports node to locate
the CrystalReportViewer
control.
- Drag
the CrystalReportViewer control
onto the Windows Form.
- From
the Properties window, set the
Name property:
- For Visual Basic projects, set the value to "myCrystalReportViewer."
- For C# projects, set the value to "crystalReportViewer."
- From
the File menu, click
Save All.