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

What is the best way to contain a string throughout an application?

$
0
0
I am curious, what is the best way to hold a string (user ID) throughout the entirety of an application? I dont really want to use my.settings, unless i have to. I do not want this variable to ever lose its value until the last form is closed. Does it make sense to create an entire class to hold one variable?

Viewing all articles
Browse latest Browse all 27031

Trending Articles



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