PC Review


Reply
Thread Tools Rate Thread

custom controls and remoting

 
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      15th Nov 2004
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
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      15th Nov 2004
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



 
Reply With Quote
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      15th Nov 2004
what is mutex?

"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

>
>
>

 
Reply With Quote
 
Larry Serflaten
Guest
Posts: n/a
 
      15th Nov 2004

"rodchar" <(E-Mail Removed)> wrote

> what is mutex?


http://dictionary.reference.com/search?q=mutex

LFS
 
Reply With Quote
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      16th Nov 2004
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

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remoting and custom authentication Smokey Grindel Microsoft C# .NET 1 16th May 2007 09:47 PM
Why the properties of web user controls which inherted from my custom base UI controls missed? ABC Microsoft ASP .NET 0 21st Nov 2005 04:08 AM
custom control, remoting?? How can I do that? zorhel Microsoft ASP .NET 0 18th Aug 2004 07:31 PM
Custom Exceptions in Remoting Matias Szulman Microsoft C# .NET 0 7th Oct 2003 08:39 PM
Custom User Controls and dynamically created web controls events not firing Nicole Microsoft Dot NET Framework 0 25th Sep 2003 10:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:56 AM.