Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Share Classes between Applications?

Status
Not open for further replies.

vituja123

Programmer
Jun 16, 2005
110
US
Hi All,

Is it possible to share a class value between applications.


If I set Class1.USERNAME in one application, can another see the value?

Public Class LogonClass
Public Shared USERNAME As String

function setvars
USERNAME="TEST"
-----------------------------------

Just wondering if it is possible and, if so, how would I go about this.

Any help would be appricated. Thanks.
 
Unless you write code to do this, this isn't possible because they're in different AppDomains.

If you need to share values between applications, look into .NET remoting, message queuing, web services, sockets, named-pipes, and all the other existing inter-process communication (IPC) methods.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top