I think my example wasnt explained properly, in VB6 i have a globalmultiuse
class in a dll called utilities, and there are three applications that use
this dll.
When the main application is run it sets itself up and sets global
properties in the utilities class, if i now run one of the second
applications then it will have the same properties as the main application.
i.e. the connection string in the second application will already have been
set by the main application and thus the second application will just use
this connection string.
the class uses a module to hold the variables for the class, this behaviour
is what i need to implement in vb.net
Thanks
Neil
"Armin Zingler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Neil Stevens" <(E-Mail Removed)> schrieb
> > ApplicationA (references DLLA which contains the public class)
> >
> > when ApplicationA runs it sets up some of the properties in DLLA,
> > gConnection is one of the properties, which is held in a public
> > module.
> >
> > ApplicationB when it runs "should" return the already set connection
> > string, however this does not happen.
>
> Data is not shared among processes. Have a look at "Remoting":
>
http://msdn.microsoft.com/library/en...etremoting.asp
>
>
> --
> Armin
>
> How to quote and why:
> http://www.plig.net/nnq/nquote.html
> http://www.netmeister.org/news/learn2quote.html
>