473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

custom controls and remoting

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
Nov 21 '05 #1
4 1564
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" <ro*****@discussions.microsoft.com>
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

Nov 21 '05 #2
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" <ro*****@discussions.microsoft.com>
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


Nov 21 '05 #3

"rodchar" <ro*****@discussions.microsoft.com> wrote
what is mutex?


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

LFS
Nov 21 '05 #4
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" <ro*****@discussions.microsoft.com>
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


Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Bjarke Lindberg | last post by:
Hey NG. Using .NET remoting it's possible to "override" the <c>new</c> operator to return a proxy to the object in question. I'd like to use this approach to let a factory class return the...
4
by: drewnoakes | last post by:
Hi, I'm developing an application server to which clients will connect over the network. This server has a variety of entry points, and remoting seems well suited for those clients written in...
7
by: Ken Allen | last post by:
I have a .net client/server application using remoting, and I cannot get the custom exception class to pass from the server to the client. The custom exception is derived from ApplicationException...
1
by: miha.valencic | last post by:
Hi! What are the options for securing remote objects, which are accessible through IIS, when you have an application deployed on the same server, which uses custom Forms authentication? ...
4
by: techsupport | last post by:
I have some experience with .NET Remoting, as well as ASP.NET 2.0, and have been wanting to remote a custom membership and profile provider. I want to take advantage of the new controls in ASP.NET...
8
by: Techno_Dex | last post by:
Has anyone come up with a slick way to make Custom Serializable Objects to behave like DataSets when using WebServices? What I'm looking for is some way to force the WSDL generated code to create...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
4
by: =?Utf-8?B?cmtvemxpbg==?= | last post by:
Is it possible to remotely host custom types? Some background... We have an application that uses custom user controls as 'templates' for entering certain kinds of data. The application is...
1
by: Smokey Grindel | last post by:
I don't want to use IIS, (design specifiaction) data security isnt an issue, I just want to make a custom authorization and authentication system for my remoting server... how would i do this? set...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.