D
Dale Atkin
I had a bit of a minor 'crash' within the IDE this morning. Somehow it got
to thinking that something on my form was referencing itself as its own
parent. No idea how this happend.
Anyways, the only option given was to 'Ignore and Continue', with the
warning that controls might be lost. Not really a big deal, as I'd just
started on the form, so I didn't mind taking the risk.
Sure enough, once loaded, about half the controls on the form had
disappeared. I redrew the form, without too much trouble... or so I thought.
Several hours of code later, I realized that the controls which I *thought*
had disappeared, were in fact still in existance, they just had no visible
instantiation on the form, so no way to do anything with them in the IDE (I
can still reference them, and modify their properties etc. I just can't
delete them).
Anyone have a good way to delete these 'phantom' controls? I tried going
through and manually editing the .designer.vb file, removing all reference
to them, but I ended up with a totally *blank* form when I was done. All I
can think is I must have screwed up the syntax somewhere.
Following this message, I'll put the designer code, in case anyone sees an
obvious solution.
Dale
to thinking that something on my form was referencing itself as its own
parent. No idea how this happend.
Anyways, the only option given was to 'Ignore and Continue', with the
warning that controls might be lost. Not really a big deal, as I'd just
started on the form, so I didn't mind taking the risk.
Sure enough, once loaded, about half the controls on the form had
disappeared. I redrew the form, without too much trouble... or so I thought.
Several hours of code later, I realized that the controls which I *thought*
had disappeared, were in fact still in existance, they just had no visible
instantiation on the form, so no way to do anything with them in the IDE (I
can still reference them, and modify their properties etc. I just can't
delete them).
Anyone have a good way to delete these 'phantom' controls? I tried going
through and manually editing the .designer.vb file, removing all reference
to them, but I ended up with a totally *blank* form when I was done. All I
can think is I must have screwed up the syntax somewhere.
Following this message, I'll put the designer code, in case anyone sees an
obvious solution.
Dale