I'm working on a vb.net windows forms application using Visual Studio 2008. I have two forms which have tab controls on them. On each tab control, one of the tabs has a reportviewer.
On both forms, when I first open them in design view, I get an error telling me that the reportviewer control is either undeclared or was never assigned. If I choose to go to the code from that error on one of the forms, it brings me to:
Me.tbPrint.Controls.Add(Me.rpSheets)
In this case, on line 270. However, looking up in the code to line 49, I find:
Me.rpSheets = New Microsoft.Reporting.WinForms.ReportViewer
I've confirmed that the tab control is actually declared before the reportviewer.
I have to "ignore and continue" these errors when I'm opening the design view of the form, every time. Has anyone else experienced this, or does anyone have any suggestions?
Cheryl dc Kern
On both forms, when I first open them in design view, I get an error telling me that the reportviewer control is either undeclared or was never assigned. If I choose to go to the code from that error on one of the forms, it brings me to:
Me.tbPrint.Controls.Add(Me.rpSheets)
In this case, on line 270. However, looking up in the code to line 49, I find:
Me.rpSheets = New Microsoft.Reporting.WinForms.ReportViewer
I've confirmed that the tab control is actually declared before the reportviewer.
I have to "ignore and continue" these errors when I'm opening the design view of the form, every time. Has anyone else experienced this, or does anyone have any suggestions?
Cheryl dc Kern