L
lgbjr
Hi All,
I'm having a problem with a VB.NET project that I'm building in VS.NET 2003
(7.1.3088). As my project has increased in size (the executable is now about
2.5MB), I am experiencing a lot of instability in the IDE. I have been
working on this project for about 6 months now and have only recently
started experiencing these problems. The first thing that I noticed was that
when switching from the code view to the designer view, more than 50% of the
time I get an error saying Object Reference not set to an instance of an
object. I have to close the designer view, then re-open it, and everything
is fine. This is quite annoying, but as I'm almost finished with the
project, I just dealt with it.
Well, the problems have moved up to a new level! Now, after I receive this
message, close and re-open the designer, there are controls missing! The
code for the controls is still there, but the control itself is missing from
the form. If I try to re-add the control (using the same name), I get an
error saying that an object with that name already exists (which, in code it
does, but on the form it doesn't). So, I have to go to the code, remove the
references to the control, then go back to the form and re-add it. I thought
this was a one time occurance. I lost about 15 controls. But, as I was
adding them back (switching back and forth between code view and design
view), I got the same error message. I closed the designer, re-opened it,
and the controls that I had just added, plus 3 more were missing!!
I'm running on a dual P4 (3GHz) machine, with 2GB RAM and 400GB of disk
space. I've de-fragged everything, shutdown, restart, and even sweet-talked
my computer a bit, but nothing seems to help. I'm running McAfee AV and
Firewall, and I regualrly check for Adware/Malware, etc.
I don't know exactly how many controls I'm actually using in the project,
but to say the least, it's a large project. Is there any limitation to the
number of controls / forms / lines of code / etc. in a VB.NET project? Has
anyone experienced this before?
Any suggestions would be greatly appreciated!! I don't want to do any more
work on the project, as I don't want to lose any more controls!!
TIA
Lee
I'm having a problem with a VB.NET project that I'm building in VS.NET 2003
(7.1.3088). As my project has increased in size (the executable is now about
2.5MB), I am experiencing a lot of instability in the IDE. I have been
working on this project for about 6 months now and have only recently
started experiencing these problems. The first thing that I noticed was that
when switching from the code view to the designer view, more than 50% of the
time I get an error saying Object Reference not set to an instance of an
object. I have to close the designer view, then re-open it, and everything
is fine. This is quite annoying, but as I'm almost finished with the
project, I just dealt with it.
Well, the problems have moved up to a new level! Now, after I receive this
message, close and re-open the designer, there are controls missing! The
code for the controls is still there, but the control itself is missing from
the form. If I try to re-add the control (using the same name), I get an
error saying that an object with that name already exists (which, in code it
does, but on the form it doesn't). So, I have to go to the code, remove the
references to the control, then go back to the form and re-add it. I thought
this was a one time occurance. I lost about 15 controls. But, as I was
adding them back (switching back and forth between code view and design
view), I got the same error message. I closed the designer, re-opened it,
and the controls that I had just added, plus 3 more were missing!!
I'm running on a dual P4 (3GHz) machine, with 2GB RAM and 400GB of disk
space. I've de-fragged everything, shutdown, restart, and even sweet-talked
my computer a bit, but nothing seems to help. I'm running McAfee AV and
Firewall, and I regualrly check for Adware/Malware, etc.
I don't know exactly how many controls I'm actually using in the project,
but to say the least, it's a large project. Is there any limitation to the
number of controls / forms / lines of code / etc. in a VB.NET project? Has
anyone experienced this before?
Any suggestions would be greatly appreciated!! I don't want to do any more
work on the project, as I don't want to lose any more controls!!
TIA
Lee