Hi All,
I'm an experienced VB6 developer and now starting (newbee) with VB 2008 and
I'm very excited.
Here's an issue I'm experiencing right off the starting line and cannot make
sense of it:
I have a module (Public) and in it contains a few global variables (String
data type). When I go to use these in a Form the value is "Nothing." Why is
this?
...
Public Module modMain
Public g_strMyPublicVa r As String
Then in the form (frmMain), the g_strMyPublicVa r does not contain the data
as it was set in modMain.
Any insight is greatly appreciated and I thank you in advance!
Kind regards - Fred
I'm an experienced VB6 developer and now starting (newbee) with VB 2008 and
I'm very excited.
Here's an issue I'm experiencing right off the starting line and cannot make
sense of it:
I have a module (Public) and in it contains a few global variables (String
data type). When I go to use these in a Form the value is "Nothing." Why is
this?
...
Public Module modMain
Public g_strMyPublicVa r As String
Then in the form (frmMain), the g_strMyPublicVa r does not contain the data
as it was set in modMain.
Any insight is greatly appreciated and I thank you in advance!
Kind regards - Fred
Comment