Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27511

Disappearing data!

$
0
0
In my program I have created a class called 'playerDetails'. In this class the player can store his 'name' etc. In my main Window the user can enter in his details which I have made link back to the class by creating

Dim 'Anything here' as playerDetails

Anything = New playerdetails

playerDetails.name = txtbox1.text

When I call for this data on this Main Window it is shown.

Msgbox(playerDetails.name)

I have created another window (Form) and try calling this data but it is giving me nothing.

Please help

Viewing all articles
Browse latest Browse all 27511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>