Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / July 2006

Tip: Looking for answers? Try searching our database.

User Controls and the Designer (VS.NET 2005)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JawzX01 - 25 Jul 2006 21:53 GMT
Hello All,
 I have two questions.

 I'm developing a user control which turn out to be custom controls
derived from the ToolStrip class/control and the ToolStrip Button
class/Control.

There is both a Custom ToolStrip and ToolStripItem (a different type of
button).

 My first question has to do with developing user controls and their
interaction with the VS.NET (05). Currently, as I test my control it
runs as a run-time control perfectly (except for a few minor known
issues). However, it causes VS.NET 05 to crash - hard - in the
design mode. It locks up the environment.

 Specifically, it does this when I open the Items Collection editor
(to add items to the ToolStrip.) Any thought or suggestions? All would
be appricated. If more details are needed, please ask, I will answer
your questions to get my question answered.

Second, are there any good resources on the internet in regards to
developing a Windows Forms User Control with complete designer support?

Thanks All,
  Frank V.
  jawzx01@gmail.com
  http://www.TheOpenSourceU.com
Frank V - 25 Jul 2006 22:23 GMT
Also, are there any tools useful for debugging user controls under
development.

For example the ability to step the code while "designing" the control.

Thanks Again,
Frank
jawzx01@gmail.com
http://www.TheOpenSourceU.com

> Hello All,
>   I have two questions.
[quoted text clipped - 24 lines]
>    jawzx01@gmail.com
>    http://www.TheOpenSourceU.com
Frank Hileman - 27 Jul 2006 15:04 GMT
Hi Frank,

You have two choices:

- before triggering the problem behavior, open another instance of VS 2005,
and attach the debugger to the previous devenv.exe process (Debug/Processes)
or

- Create a test project to test design-time behavior. In the debug options
for your library project, specify the application to launch as devenv.exe
(browse to the VS folders). For the command line argument, pass in the path
and name of the test project. When you launch the debugger it will bring up
another instance of devenv.exe with the debugger already attached to the
project.

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio graphics editor

> Hello All,
>  I have two questions.
[quoted text clipped - 24 lines]
>   jawzx01@gmail.com
>   http://www.TheOpenSourceU.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.