[RESOLVED] Public variable in standalone exe
I have a standalone executable that will connect to a database and perform various operations and immediately release the connection. At the beginning of the application at want to prompt the user for userid, password, database etc. and build a connect string that I want all class modules to share. In VB6 I would have used a public variable to store the connect string.
How do I achieve the same behaviour in VB.NET?
I've read things about singletones etc. but that would imply that I'd have to store the string in a file and pick it up each time I need it isn't it ?
Thanks