DotNetNewbie
Programmer
Hi,
I have just had to upgrade some code form VB.net to Visual Studio 2005. After making a number of code changes my program now works. However there seems to be a change in the way that Global variables work.
After investigating I found that Global variables are not the chosen method, but passing the variable from one form to the form it is used in is.
Can someone give me an example on how this is done, as I am at a loss on how to do this correctly.
Kind Regards,
.net
I have just had to upgrade some code form VB.net to Visual Studio 2005. After making a number of code changes my program now works. However there seems to be a change in the way that Global variables work.
After investigating I found that Global variables are not the chosen method, but passing the variable from one form to the form it is used in is.
Can someone give me an example on how this is done, as I am at a loss on how to do this correctly.
Kind Regards,
.net