Hello Guys,
Please help me how to pass a variable to a multiple projects in VB.NET like on VB6. The variables are user ID, user Name, Server Name and server database. In VB6 it can be used on multiple projects while on VB.Net is I don't have any idea. I google'd on some samples but there is none like with what is done on VB6.

Thank you.


You said on multiple projects? you should reference the project that has the variable to access those variables.

Project A contains the variables and on Project B reference the project A.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.