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 / .NET Framework / CLR / October 2007

Tip: Looking for answers? Try searching our database.

User Controls/ VS 2002

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kalamantina - 22 Oct 2007 19:57 GMT
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?
Kevin Spencer - 23 Oct 2007 12:24 GMT
Is the UserControl in the same project? If not, is the UserControl project
part of the project's solution?

Signature

HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

> Hi everyone,
> I am having a problem with a user control.
[quoted text clipped - 13 lines]
>
> any thoughts here? Any recommendations?

Rate this thread:







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.