Crystal Reports Basic for Visual Studio
Creating a Windows Project with a CrystalReportViewer Control

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?.

  1. Launch Visual Studio.
  2. From the File menu, select New, and then click Project.
  3. In the New Project dialog box, select a language folder for C# or Visual Basic from the Project Types list.
  4. From the Templates list, click Windows Application.
  5. In the Name field, replace the default project name with the name of your project.
  6. Click OK.

    Your project opens in Solution Explorer and contains a Form1 class.

  7. Open the Form1 class.
  8. From the Toolbox, open the Crystal Reports node to locate the CrystalReportViewer control.
  9. Drag the CrystalReportViewer control onto the Windows Form.
  10. 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."
  11. From the File menu, click Save All.
Page view tracker