VS.NET 2003 IDE bugs, Part 1

  • Thread starter Thread starter Jon Davis
  • Start date Start date
J

Jon Davis

I am having a very annoying problem with Visual Studio. This problem has
been going on for about half a year now on this project and I'm really sick
of it.

Basically the problem that I have is this. I have a custom control (a DHTML
Textbox using an instance of the Internet Explorer COM object) added
(docked) to a panel that is on a tab control. It lays out just fine. I save
it, I compile it, it works great.

But when I close out of the IDE and then open it up again and re-open the
solution and the designer window auto-loads back up, the custom control is
missing, and when compiling I get the error that the control is never
assigned to.

So I have to manually remove the declaration of the variable in the code,
then go back to the designer and re-add the control, any time I want to edit
this Form. This is a very time consuming process because it means I have to
re-link all of my events and reconfigure all of the properties of the
instance of the custom control.

Does anyone know how to get around this bug?

I also have a problem with the menu (a third party menu control) not staying
at the back (hence docked on top of other top-docked toolbars and other
controls), whenever the designer window for this form is re-opened. I keep
having to right-click on it and choose "Send To Back"; it won't stay if I
ever re-open the designer.

What is up with all this bugginess??? Is Microsoft doing ANYTHING to fix
these stupid problems??

Jon
 
Jon Davis wrote:
[snip]
What is up with all this bugginess??? Is Microsoft doing ANYTHING to fix
these stupid problems??

Absolutely not -- this is only the 13th rev of the product. Don't be so fussy,
this stuff won't be fixed until at least the 27th rev.
 
Hello
I have the same problem. I worked around it by adding the control and wiring
its event using code that i write not using the designer. The problem with
this approach is that I don't see the control in the designer.

Best regards
Sherif
 
IMO U should first rebuid project, than open designer.
If compiler don't complain it should'nt dissapear.

Regards,
Krzemo.
 
You have an interesting problem. I'd try to solve the problem by trying to
figure out exactly VS is messing up. My guess it that it's messing up the
save on the Form. I think that the form is saved as XML (not the code
portion, just the layout).
So I would have your project ready to compile, with no files open, then
compile it. It that works, copy the form to another copy. Quit VS, and
reopen, and try compile again. If that doesn't work, do a diff on the
current form file and the backed up one, and see what's messed up.

S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top