Click here to Skip to main content
15,886,701 members
Home / Discussions / C#
   

C#

 
GeneralRe: Game Programming with C# Pin
leppie25-Apr-04 0:08
leppie25-Apr-04 0:08 
GeneralTanks for the Ansers... Pin
Snews25-Apr-04 3:58
Snews25-Apr-04 3:58 
GeneralTree Data Structure Pin
William Blasko24-Apr-04 9:40
William Blasko24-Apr-04 9:40 
GeneralRe: Tree Data Structure Pin
Heath Stewart24-Apr-04 10:20
protectorHeath Stewart24-Apr-04 10:20 
GeneralDirectory Structure Pin
Heilmann24-Apr-04 4:26
sussHeilmann24-Apr-04 4:26 
GeneralRe: Directory Structure Pin
Hesham Amin24-Apr-04 4:41
Hesham Amin24-Apr-04 4:41 
GeneralServer Connections/From Add-in Pin
cnurse24-Apr-04 4:14
cnurse24-Apr-04 4:14 
GeneralWindows Form Designer Error Pin
josefg24-Apr-04 3:41
josefg24-Apr-04 3:41 
Hi,

I made 2 custom controls, both of which have a default constructor. The problem is that when I try to drag one of them into the form from the toolbox, I get a message saying that an exception occured while trying to create an instance of the control. The exception text is "Object reference was not set to an instance of an object."

Now with the other control, it works Ok when I drag it onto the form and works as expected when I run the program, however if I try to delete it from the form I also get an "Object reference was not set to an instance of an object." exception.

Can you please help me locate the source of this error?

Thanks for your help.
Josef
GeneralRe: Windows Form Designer Error Pin
josefg24-Apr-04 7:32
josefg24-Apr-04 7:32 
GeneralServiceProcessInstaller.UserName and password inaccessible Pin
jiagia23-Apr-04 22:41
jiagia23-Apr-04 22:41 
GeneralRe: ServiceProcessInstaller.UserName and password inaccessible Pin
Heath Stewart24-Apr-04 10:37
protectorHeath Stewart24-Apr-04 10:37 
Generalsending xml Pin
hmdhmd23-Apr-04 22:13
hmdhmd23-Apr-04 22:13 
GeneralRe: sending xml Pin
Nick Parker24-Apr-04 7:30
protectorNick Parker24-Apr-04 7:30 
GeneralResourceManager Question Pin
hammackj23-Apr-04 19:16
hammackj23-Apr-04 19:16 
GeneralRe: ResourceManager Question Pin
Heath Stewart24-Apr-04 10:34
protectorHeath Stewart24-Apr-04 10:34 
GeneralRe: ResourceManager Question Pin
hammackj24-Apr-04 11:02
hammackj24-Apr-04 11:02 
GeneralRe: ResourceManager Question Pin
Heath Stewart25-Apr-04 4:14
protectorHeath Stewart25-Apr-04 4:14 
Generalchat program Pin
azhar_engineers23-Apr-04 19:00
azhar_engineers23-Apr-04 19:00 
GeneralRe: chat program Pin
Tomas Petricek24-Apr-04 5:10
Tomas Petricek24-Apr-04 5:10 
GeneralRe: chat program Pin
Heath Stewart24-Apr-04 10:28
protectorHeath Stewart24-Apr-04 10:28 
GeneralRe: chat program Pin
Tomas Petricek24-Apr-04 10:39
Tomas Petricek24-Apr-04 10:39 
GeneralRe: chat program Pin
Heath Stewart25-Apr-04 4:09
protectorHeath Stewart25-Apr-04 4:09 
QuestionHow to capture IE output of displaying an XML file? Pin
forgiven4u23-Apr-04 14:28
forgiven4u23-Apr-04 14:28 
AnswerRe: How to capture IE output of displaying an XML file? Pin
Heath Stewart23-Apr-04 16:07
protectorHeath Stewart23-Apr-04 16:07 
GeneralRe: How to capture IE output of displaying an XML file? Pin
forgiven4u24-Apr-04 14:59
forgiven4u24-Apr-04 14:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.