Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object reference not set to an instance of an object.

Status
Not open for further replies.

honeypot

Technical User
Mar 6, 2001
147
GB
An unhandled exception of type 'System.NullReferenceException' occurred in PostBook Planning Dept.exe

Additional information: Object reference not set to an instance of an object.

I get the above error message when trying to run a mail merge on my windows form. Can someone pls help? Can post up my code if required. Thanks.
 
This error is telling you that while a variable has been declared, it's not had any memory allocated to hold it's contents. You do that via the "New" keyword.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top