User Controls/ VS 2002

K

kalamantina

Hi everyone,
I am having a problem with a user control.
I have a winform roject and I built a user control for it, the project
builds fine and I was able to drag the user control from the toolbox
and drop it on another Winform. Later on, something happened in that
project( my mistake for not checking it into source control), and the
form which had the control is now showing blank. Further more, when I
try to drag and drop the control to the same winform it throws an
exception ( Object reference not set to an instant of an object).
I did the following to try to fix this:
1 : rebuild the project, nothing.
2 : Close VS, delete OBJ folder, nothing.
3 : Checkin the project with that issue, go to another development
machine, get latest version, try to add the contrl to the form, same
problem.

any thoughts here? Any recommendations?
 
K

Kevin Spencer

Is the UserControl in the same project? If not, is the UserControl project
part of the project's solution?

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top