Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Can you edit the path the designer uses for relative pathing for visual controls?
 

Can you edit the path the designer uses for relative pathing for visual controls?

If I have a visual control (like a UserControl) that references a relative path (like "images/myImage.gif") in its constructor and then try to place this control on a form or another visual control, the Designer chokes on the path and won't load the designer.

I've seen stuff on the INET that says VS is using some common/IDE folder somewhere, and people recommend copying your files/folders to this location so the designer won't choke.

Does anyone have a real solution, not this clunky workaround?
sliderhouserules  Thursday, March 23, 2006 11:39 PM
Here is the most informative info I have found about this problem:

http://weblogs.asp.net/avnerk/archive/2005/12/25/433981.aspx
sliderhouserules  Thursday, March 23, 2006 11:42 PM

You can use google to search for other answers

Custom Search

More Threads

• DataGridView declared local, not private?
• DataGridView - Designer Serialization
• Visual inheritance, Design Error
• report load failed in another PC
• Problem to save collection property [VB.NET]
• In VS2005, the Visual Designer keeps rearranging the order and position of Toolstrips.
• What is the maximum width of a button ?
• Whats the best approach to do date AND time?
• Tab order helper opacity
• What's wrong with the designer ?