VS2008 IDE question

  • Thread starter Thread starter Terry
  • Start date Start date
T

Terry

When I open a form (already exists) in the IDE, why is it marked 'dirty'
before I have touched it?
In fact, if I open an existing solution, the solution, project, and any form
that was open in the IDE the last time I closed the solution are all marked
dirty.
Is this a bug, 'cause if its not...it should be!
 
Hi Terry,

I couldn't reproduce the problem in any version of VS on my side.

If you close the solution with some "dirty" forms opening, does the VS2008
show a dialog prompting to save changes?

What's the kind of the projects in the solution, WinForm applications, WPF
applications or something else?

Does this problem exist on another machine?

Does this problem exist in VS2005?

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Linda,
I do not have VS2008 on any other machine and have no idea if it would be
a problem in any earlier version of VS. I don't think you can go backwards
and I had just started using VS2008 to layout a new winform.
I have several nested TableLayoutPanels and controls within them. I am
getting ready to convert an old VB6 app that uses a third party control for
resizing the form/controls. So I was just fooling around with the
TableLayout and the dock and anchor properties to see if I could accomplish
what I want. It looks like I can, but it is unbelievably slow!
Since I am just at the start of this, there is no code, just the layout
(partial) and just the single form in the project. I can send it to you if
you like.
 
Hi Terry,

Thank you for your prompt response!

Please send me a sample project that could just reproduce the problem. To
get my actual email address, remove "online" from my displayed email
address.

I look forward to your reply!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Terry,

Thank you for your sample project!

I have tested it on my machine and did see the problem on my side. When I
open the Form1 in the designer, VS2008 always marks the Form1 dirty.

After doing some research, I found that this problem occurs when the
TableLayoutPanel cell doesn't provide enough space to place the control
hosted in this cell.

Suppose the control's minimum height is 20 and both the top and bottom
margin are 3, the cell hosting this control should have a height of value
20+3+3 = 26 at least so that the problem doesn't exist.

I will check this issue in our internal database later to see if there's a
similar issue in it.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Linda,
Thought it might be something like that, but it still seems strange - if it
wouldn't fit when I closed it - what makes it think it will fit now! Ok Ok -
I understand. I fill 'spread' it out some.

Thanks,
 
Hi Terry,

Thank you for your prompt response!

I have searched in our internal database and found that this is a known
issue about TableLayoutPanel control and the recommended workaround is to
make sure that the TableLayoutPanel contains the controls entirely.

Thank you for reporting this issue to us.

If you have any other questions in the future, please don't hesitate to
contact us. It's always our pleasure to be of assistance!

Have a good day!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top