Click here to Skip to main content
15,903,203 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

Previously i'm using vb.net 2003 as my platform. but currently the platform is changes to vb.net 2010. i want to refer to my old coding but the problem occur as stated below. Just wondering why it happen and how to solved it.

1) what is call stack and how to overcome this situation?

2) when debugging, a warning of problem occur. it says that some blaa..blaa..blaa .resx file is missing or parameter incorrect. why is that happen and way to overcome.

3) why 2010 version noted that a "Variable 'x' is used before it has been assigned a value. A null reference exception could result at runtime."?
Posted
Comments
Abhinav S 12-Sep-11 5:04am    
You don't need to reinstall VS2003 to view the code. Just open the same class file in Notepad or any other text editor and you should be able to see the method call. Looks like the code that is using Icon.Initialize has got some wrong parameters. Check msdn out for this - you may be able to get some answers.

1 solution

"1) what is call stack and how to overcome this situation?"
A call stack is a memory structure that stores all information about the method calls. You have not mentioned the situation so I'm not quite sure what you are talking about.

"2) when debugging, a warning of problem occur. it says that some blaa..blaa..blaa .resx file is missing or parameter incorrect. why is that happen and way to overcome."
Make sure all the resource files have been included in the new migrated project and that nothing has been missed out.

"why 2010 version noted that a "Variable 'x' is used before it has been assigned a value. A null reference exception could result at runtime."?
The compiler (since .Net 2.0) catches this as a warning. Read more about how to resolve this error here[^].
 
Share this answer
 

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



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