all groups > visual studio .net ide > january 2005 >
You're in the

visual studio .net ide

group:

Bogus errors in VB file


Bogus errors in VB file mfdatsw1
1/20/2005 7:31:03 AM
visual studio .net ide:
I have a VB solution with 8 projects and about 50 code files. Recently when I
make a code change, one particular file suddenly lists numerous errors which
actually don't exist. It occurs even when I modify a file that's in a
different project, and it always happens to the same file - a form that's
inherited from another form.

When I go to the offending source file, I can cut some code then restore it,
essentially leaving the code unchanged - but all the error listings go away!

This is extremely annoying and is slowing down my productivity. Can anyone
help me?
Re: Bogus errors in VB file Bruce Wood
1/20/2005 1:58:17 PM
What are the bogus errors that you're getting? Are they always the same
kind of error?

Do you get them only when a form is open in the designer, when the form
is open in code view, or even when the form is closed?
Re: Bogus errors in VB file mfdatsw1
1/21/2005 10:21:02 AM
The errors aren't always the same, but are always the same type: "Name
'objname' is not declared. This happens whether the offending file is open or
closed.

[quoted text, click to view]
AddThis Social Bookmark Button