"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:uf**************@tk2msftngp13.phx.gbl...
I tried to reproduce it - nothing. The problem is that the program (user
control) compiles, but leaves 3 tasks with "object reference...line 0" in
the task list. the error occures while adding this component to form...
Do you have the source code to the component. If so, open a second instance
of VS.NET with the debug version of the component project, select
Debug/Processes and attach to the DevEnv.exe instance that you want to add
the component to, make sure break points are set in the component source
code, and try to drop your component onto the form in the first instance of
VS.NET. If you have your breakpoint set in the right place on the second
instance of DevEnv it will stop there so you can step through your code.
Joe
--
http://www.csharp-station.com