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?
Bruce Wood - 20 Jan 2005 21:58 GMT
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?
mfdatsw1 - 21 Jan 2005 18:21 GMT
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.
> 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?