Application scope data

Superfly1611

Regular
Joined
Feb 17, 2004
Messages
66
Location
UK
Hello all,

I'm predominantly a web developer and have next to no windows forms programming - and certainly none since VB6.
When writing a windows form program in .Net how do I declare variables that can be accessed from any form in my application?
In VB6 I would tend use modules to declare public data and new data types.

If it makes any difference what I want to store is a database connection string and I do not want to store it in the registry.

Thanks
 
Back
Top