Click here to Skip to main content
15,888,257 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
In my windows application project i have set localization to true and added another language. When adding a reference of another project, it is showing error as 'object reference not set to an instance of object'.
how can i fix this issue?

Thanks in advance
Jiju
Posted
Comments
Prasad_Kulkarni 21-May-12 1:20am    
Please post some code snippets

 
Share this answer
 
Comments
Mehdi Gholam 21-May-12 1:23am    
Just posted the same, 5'ed.
Prasad_Kulkarni 21-May-12 1:29am    
:) Thank You!
Run your program in a debugger, and it will show you where your error is.

This is usually when you are trying to use an object which is null (not set).
 
Share this answer
 
Comments
Jijutj 21-May-12 1:30am    
In my first application i want to call form which is in second application, so i add a reference of second to first, then rebuilding the application it shows error message.
any help?

thanks
Mehdi Gholam 21-May-12 1:37am    
Try: forminsecondapp form = new forminsecondapp();
VJ Reddy 21-May-12 1:56am    
Good answer. 5!
Mehdi Gholam 21-May-12 1:57am    
Thanks VJ!
Jijutj 21-May-12 2:35am    
thanks for your response.
I want to call this form as a separate process so i use ProcessStartInfo to call this,
any help?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900