Hi Doc,
To make things clear, I'd like to ask several questions here.
1. You have mentioned the application was built in VS2002 and then
converted to VS2005. In VS2002, there's only MainMenu and ToolBar and after
convertion, they are still a MainMenu and a ToolBar and couldn't become a
MenuStrip or a ToolStrip.
Is it the MainMenu and ToolBar that has the problem you described?
2. How you add items to the MainMenu and ToolBar, at design time or run
time?
I guess you add items at design time. It may be the Form Designer that
modify the code in the InitializeComponent method so that the association
between the bar and the items disappears. If so, I suggest that you add
items to the bar or main menu at run time, i.e. by your own code.
3. >They're still in the code, but the association between the bar and the
items (i.e. toolStrip.Items.AddRange) disappears.
What do you mean by "They're still in the code" in the above sentence?
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
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.