Spurious error message

  • Thread starter Thread starter Mike W
  • Start date Start date
M

Mike W

VB .NET 2003:

When I click on the Start button (>) in Visual Studio to run my project, I
get several messages in the Task List window. The first says:

C:\code\CaliberGenerator\Inherited Forms\frmDepartmentSummary.vb(278):
'frmDeptUpdate' is not a member of 'CaliberGenerator.frmMDIParent'.

However, in the frmMDIParent Class, at the beginning (just under "Public
Class frmMDIParent"), there is the line:
Public frmDeptUpdate As frmDepartmentUpdate

So frmDeptUpdate IS IN FACT a member of CaliberGenerator.frmMDIParent.

If I select "Rebuild CaliberGenerator" from the Build menu, the Build
succeeds and the there are no messages in the Task List window.

Does anyone know how to prevent the spurious error message?
 
Mike W said:
When I click on the Start button (>) in Visual Studio to run my project, I
get several messages in the Task List window. The first says:

C:\code\CaliberGenerator\Inherited Forms\frmDepartmentSummary.vb(278):
'frmDeptUpdate' is not a member of 'CaliberGenerator.frmMDIParent'.

However, in the frmMDIParent Class, at the beginning (just under "Public
Class frmMDIParent"), there is the line:
Public frmDeptUpdate As frmDepartmentUpdate

So frmDeptUpdate IS IN FACT a member of CaliberGenerator.frmMDIParent.

If I select "Rebuild CaliberGenerator" from the Build menu, the Build
succeeds and the there are no messages in the Task List window.

Does anyone know how to prevent the spurious error message?

Delete your project's "bin" and "obj" directories and try again.
 
I had to close the project to delete those folders.

So I did and reopened it and then the project ran.

Then I changed some code and tried to run again and the same spurious
messages are coming up again
 
Back
Top