K
K. Shier
when attempting to edit code in a class file, i see the bug "Visual Basic
..NET compiler is unable to recover from the following error: System Error
&Hc0000005&(Visual Basic internal compiler error) Save your work and restart
Visual Studio .NET."
has anyone seen this bug and can you confirm one way or the other whether or
not it can corrupt your source files? (by 'corrupt' i mean: do anything to
it that will cause it to fail to load and work properly in VS.Net)
i don't know *exactly* what is the cause of it. it has occurred when i Cut
certain lines out of the code, and also when i delete blank lines. i guess
it is triggered by the background compilation that occurs when you edit
source code.
because the code in question pertains (indirectly) to trying to use
AddHandler/RemoveHandler on a member of an array, i assume this is related
to the known bug discussed here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;819349
in typically poor M$ documentary fashion, the knowledge base article
mentions not one word of the rest of the story - that this bug can hit you
while you are editing, not just compiling. the background compilation
process is just as susceptible as an explicit compile.
it also doesn't mention one word about a workaround. this seems to go
against M$ documentary practices of obligingly stating (only) the obvious.
i am surprised they couldn't add the one sentence to the KB article:
"Workaround: don't use a control array when you plan to use
AddHandler/RemoveHandler with said controls."
(also note the sentence in the KB article: "Microsoft has confirmed that
this is a bug in the Microsoft products that are listed at the beginning of
this article." Uh ... the products are listed at the end of the article...
it's not a big deal, but it evidences the fact that significant parts of the
M$ help base are totally neglected in terms of revision and editing. come
on guys, intern some grammar school kids or SOMEthing!)
that's about it for now other than to say - thanks M$ for not letting me
down today! another awesome day working with your products, begun the only
*proper* way: being faced with a bug within 5 minutes of booting up the
IDE...
..NET compiler is unable to recover from the following error: System Error
&Hc0000005&(Visual Basic internal compiler error) Save your work and restart
Visual Studio .NET."
has anyone seen this bug and can you confirm one way or the other whether or
not it can corrupt your source files? (by 'corrupt' i mean: do anything to
it that will cause it to fail to load and work properly in VS.Net)
i don't know *exactly* what is the cause of it. it has occurred when i Cut
certain lines out of the code, and also when i delete blank lines. i guess
it is triggered by the background compilation that occurs when you edit
source code.
because the code in question pertains (indirectly) to trying to use
AddHandler/RemoveHandler on a member of an array, i assume this is related
to the known bug discussed here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;819349
in typically poor M$ documentary fashion, the knowledge base article
mentions not one word of the rest of the story - that this bug can hit you
while you are editing, not just compiling. the background compilation
process is just as susceptible as an explicit compile.
it also doesn't mention one word about a workaround. this seems to go
against M$ documentary practices of obligingly stating (only) the obvious.
i am surprised they couldn't add the one sentence to the KB article:
"Workaround: don't use a control array when you plan to use
AddHandler/RemoveHandler with said controls."
(also note the sentence in the KB article: "Microsoft has confirmed that
this is a bug in the Microsoft products that are listed at the beginning of
this article." Uh ... the products are listed at the end of the article...
it's not a big deal, but it evidences the fact that significant parts of the
M$ help base are totally neglected in terms of revision and editing. come
on guys, intern some grammar school kids or SOMEthing!)
that's about it for now other than to say - thanks M$ for not letting me
down today! another awesome day working with your products, begun the only
*proper* way: being faced with a bug within 5 minutes of booting up the
IDE...