ggootee Posted December 17, 2002 Posted December 17, 2002 Hi I have one that has been keeping me up all night. I have a form with a user control in it. This user control has various text boxes two of which are first name and last name. This form that has the user control on it is a mdi child. When the user enters the text box for first name. A form is loaded asking the user if they want to use the name the enterd when the program started. I have some public varibles. When I go to pass the public varibales I get the following error. "Object reference not set to an instance of an object." ??? Quote
*Gurus* divil Posted December 17, 2002 *Gurus* Posted December 17, 2002 Can you post the code you have so far? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
ggootee Posted December 18, 2002 Author Posted December 18, 2002 Cont. Hi, I tried uploading can I email you a zip file. My email is greg.gootee@verizon.net. Quote
ggootee Posted December 19, 2002 Author Posted December 19, 2002 Cont.. I still can not upload my zipped program. If you have a form open. How do you send text to a text box on that form from another form. When I dim form1 as form1 and set form1.textbox1.text = "Greg" I get the following error at runtime Object reference not set to an instance of an object." ??? Quote
ggootee Posted December 19, 2002 Author Posted December 19, 2002 I got it Hi, I found some older threads that explained it. Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.