Where can i put the following statement in my custom control so that it will
run once
RemotingConfiguration.RegisterWellKnownClientType(GetType(CustomCtl.RemHost), "http://1.2.3.4/RemHost/CustomCtl.rem")
"Cor Ligthert" wrote:
> Rodchar,
>
> Mostly is the mutex used to run only one time a program, however I am not
> sure what you really ask You know a button is never doing some remoting in
> the background, it can start or stop something, however that is all. And a
> form with a button runs never in the background, it needs to have the focus
> to be pushed.
>
> Cor
>
> "rodchar" <(E-Mail Removed)>
> > hey all,
> >
> > i have a custom control image button that does some remoting in the
> > background. however, when i try to run my control i'm getting a message
> > that
> > says
> >
> > Attempt to redirect activation of type 'Host, Lib' which is already
> > redirected.
> >
> > Is there a place in a custom control where i can run this just one time,
> > or
> > can i get around the message?
> >
> > thanks,
> > rodchar
>
>
>
|