473,385 Members | 1,927 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,385 software developers and data experts.

unregister ActivatedClientType

Is there any way to unregister a ActivatedClientType?
thanks, Ricky Jones
Nov 22 '05 #1
9 1066
Hi Ricky,

I do not think you can unregister an ActivatedClientTypeEntry after you
have registered it in the remoting config.
Can you tell me what you want to do?

Here is link, you may have a check and let me know if that is what you want
to do.
http://groups.google.com/groups?hl=z...&threadm=u6aPe
69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DUT
F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r

I look forward to hearing from you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
From: "Ricky Jones" <rj****@hascientific.com>
Subject: unregister ActivatedClientType
Date: Wed, 10 Sep 2003 11:06:47 -0400
Lines: 4
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#5**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.36
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
X-Tomcat-NG: microsoft.public.dotnet.general

Is there any way to unregister a ActivatedClientType?
thanks, Ricky Jones


Nov 22 '05 #2
Thanks, for responding,

I accept a servername from the user, then I register an ActivatedClientType
to connect to the server. If you are unable to connect to the server it will
allow the user to reenter the servername. At this point though you cannot
reregister the type to point to the new server location. I've started
looking into using the activator class, but that seems to only work for
wellknowclienttypes not activatedclienttypes.

I looked at the article you sent me, it seems as though that is if the
object is already created.

Also note I'm setting up the remoting configuration through code.

Thank You

Ricky Jones

H&A Scientific Inc.

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Ao**************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I do not think you can unregister an ActivatedClientTypeEntry after you
have registered it in the remoting config.
Can you tell me what you want to do?

Here is link, you may have a check and let me know if that is what you want to do.
http://groups.google.com/groups?hl=z...&threadm=u6aPe 69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DUT F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r

I look forward to hearing from you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
From: "Ricky Jones" <rj****@hascientific.com>
Subject: unregister ActivatedClientType
Date: Wed, 10 Sep 2003 11:06:47 -0400
Lines: 4
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#5**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.36
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
X-Tomcat-NG: microsoft.public.dotnet.general

Is there any way to unregister a ActivatedClientType?
thanks, Ricky Jones

Nov 22 '05 #3
Thanks, for responding,

I accept a servername from the user, then I register an ActivatedClientType
to connect to the server. If you are unable to connect to the server it will
allow the user to reenter the servername. At this point though you cannot
reregister the type to point to the new server location. I've started
looking into using the activator class, but that seems to only work for
wellknowclienttypes not activatedclienttypes.

I looked at the article you sent me, it seems as though that is if the
object is already created.

Also note I'm setting up the remoting configuration through code.

Thank You

Ricky Jones

H&A Scientific Inc.

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Ao**************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I do not think you can unregister an ActivatedClientTypeEntry after you
have registered it in the remoting config.
Can you tell me what you want to do?

Here is link, you may have a check and let me know if that is what you want to do.
http://groups.google.com/groups?hl=z...&threadm=u6aPe 69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DUT F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r

I look forward to hearing from you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
From: "Ricky Jones" <rj****@hascientific.com>
Subject: unregister ActivatedClientType
Date: Wed, 10 Sep 2003 11:06:47 -0400
Lines: 4
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#5**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.36
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
X-Tomcat-NG: microsoft.public.dotnet.general

Is there any way to unregister a ActivatedClientType?
thanks, Ricky Jones

Nov 22 '05 #4
Hi Ricky,

I think you may try to use the CreateInstance method of Activator.
Here is my demo.
public static void Main()
{
ChannelServices.RegisterChannel(new TcpChannel());
HelloServiceClass service;
object[] url = {new UrlAttribute("tcp://localhost:8083/MyServer")};
try
{
//The line
will failed for the unavailable port.
service =
(HelloServiceClass)Activator.CreateInstance(typeof (HelloServiceClass),null,u
rl);
}
catch(System.Reflection.TargetInvocationException e)
{
Console.WriteLine(e.ToString());
}
url[0] = new UrlAttribute("tcp://localhost:8082/MyServer");
//The line will succeed.
service =
(HelloServiceClass)Activator.CreateInstance(typeof (HelloServiceClass),null,u
rl);
if(service == null)
{
Console.WriteLine("Could not locate server.");
return;
}

// Calls the remote method.
Console.WriteLine();
Console.WriteLine("Calling remote object");
Console.WriteLine(service.HelloMethod("Caveman"));
Console.WriteLine(service.HelloMethod("Spaceman")) ;
Console.WriteLine(service.HelloMethod("Client Man"));
Console.WriteLine("Finished remote object call");
Console.WriteLine();
}

Did this does the job for you?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Ricky Jones" <rj****@hascientific.com>
References: <#5**************@tk2msftngp13.phx.gbl> <Ao**************@cpmsftngxa06.phx.gbl>Subject: Re: unregister ActivatedClientType
Date: Thu, 11 Sep 2003 09:10:44 -0400
Lines: 68
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ox*************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.56
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108144
X-Tomcat-NG: microsoft.public.dotnet.general

Thanks, for responding,

I accept a servername from the user, then I register an ActivatedClientType
to connect to the server. If you are unable to connect to the server it willallow the user to reenter the servername. At this point though you cannot
reregister the type to point to the new server location. I've started
looking into using the activator class, but that seems to only work for
wellknowclienttypes not activatedclienttypes.

I looked at the article you sent me, it seems as though that is if the
object is already created.

Also note I'm setting up the remoting configuration through code.

Thank You

Ricky Jones

H&A Scientific Inc.

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Ao**************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I do not think you can unregister an ActivatedClientTypeEntry after you
have registered it in the remoting config.
Can you tell me what you want to do?

Here is link, you may have a check and let me know if that is what you

want
to do.

http://groups.google.com/groups?hl=z...8&threadm=u6aP

e

69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DU

T
F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r

I look forward to hearing from you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. --------------------
>From: "Ricky Jones" <rj****@hascientific.com>
>Subject: unregister ActivatedClientType
>Date: Wed, 10 Sep 2003 11:06:47 -0400
>Lines: 4
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#5**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 207.14.226.36
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Is there any way to unregister a ActivatedClientType?
>thanks, Ricky Jones
>
>
>



Nov 22 '05 #5
Hi Ricky,

Here is the code of server side and the ClassLibrary.
I divided the content into two posts to avoid the post being cut in stream.

[server]
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
namespace ConsoleApplication12
{
/// <summary>
/// Summary description for Class1.
/// </summary>
public class ServerClass
{

public static void Main()
{

ChannelServices.RegisterChannel(new TcpChannel(8082));
RemotingConfiguration.ApplicationName="MyServer";

RemotingConfiguration.RegisterActivatedServiceType (typeof(ClassLibrary6.Hell
oServiceClass));
Console.WriteLine("Press enter to stop this process.");
Console.ReadLine();
}
}

}

[ClassLibrary]
using System;

namespace ClassLibrary6
{
/// <summary>
/// Summary description for Class1.
/// </summary>
public class HelloServiceClass : MarshalByRefObject
{

static int n_instance;

public HelloServiceClass()
{
n_instance++;
Console.WriteLine(this.GetType().Name + " has been created. Instance #
= {0}", n_instance);
}
~HelloServiceClass()
{
Console.WriteLine("Destroyed instance {0} of HelloServiceClass.",
n_instance);
n_instance --;
}
public String HelloMethod(String name)
{

// Reports that the method was called.
Console.WriteLine();
Console.WriteLine("Called HelloMethod on instance {0} with the '{1}'
parameter.",
n_instance, name);

// Calculates and returns the result to the client.
return "Hi there " + name + ".";
}
}

}

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
Newsgroups: microsoft.public.dotnet.general
From: v-******@online.microsoft.com (Peter Huang [MSFT])
Organization: Microsoft
Date: Fri, 12 Sep 2003 08:25:03 GMT
Subject: Re: unregister ActivatedClientType
X-Tomcat-NG: microsoft.public.dotnet.general
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Ricky,

I think you may try to use the CreateInstance method of Activator.
Here is my demo.
public static void Main()
{
ChannelServices.RegisterChannel(new TcpChannel());
HelloServiceClass service;
object[] url = {new UrlAttribute("tcp://localhost:8083/MyServer")};
try
{
//The line
will failed for the unavailable port.
service =
(HelloServiceClass)Activator.CreateInstance(typeo f(HelloServiceClass),null, url);
}
catch(System.Reflection.TargetInvocationException e)
{
Console.WriteLine(e.ToString());
}
url[0] = new UrlAttribute("tcp://localhost:8082/MyServer");
//The line will succeed.
service =
(HelloServiceClass)Activator.CreateInstance(typeo f(HelloServiceClass),null, url);
if(service == null)
{
Console.WriteLine("Could not locate server.");
return;
}

// Calls the remote method.
Console.WriteLine();
Console.WriteLine("Calling remote object");
Console.WriteLine(service.HelloMethod("Caveman"));
Console.WriteLine(service.HelloMethod("Spaceman")) ;
Console.WriteLine(service.HelloMethod("Client Man"));
Console.WriteLine("Finished remote object call");
Console.WriteLine();
}

Did this does the job for you?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Ricky Jones" <rj****@hascientific.com>
References: <#5**************@tk2msftngp13.phx.gbl><Ao**************@cpmsftngxa06.phx.gbl>
Subject: Re: unregister ActivatedClientType
Date: Thu, 11 Sep 2003 09:10:44 -0400
Lines: 68
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ox*************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.56
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108144
X-Tomcat-NG: microsoft.public.dotnet.general

Thanks, for responding,

I accept a servername from the user, then I register an ActivatedClientType
to connect to the server. If you are unable to connect to the server it

will
allow the user to reenter the servername. At this point though you cannot
reregister the type to point to the new server location. I've started
looking into using the activator class, but that seems to only work for
wellknowclienttypes not activatedclienttypes.

I looked at the article you sent me, it seems as though that is if the
object is already created.

Also note I'm setting up the remoting configuration through code.

Thank You

Ricky Jones

H&A Scientific Inc.

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Ao**************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I do not think you can unregister an ActivatedClientTypeEntry after you
have registered it in the remoting config.
Can you tell me what you want to do?

Here is link, you may have a check and let me know if that is what you

want
to do.

http://groups.google.com/groups?hl=z...-8&threadm=u6a

Pe69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3D UT F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r

I look forward to hearing from you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers norights. --------------------
>From: "Ricky Jones" <rj****@hascientific.com>
>Subject: unregister ActivatedClientType
>Date: Wed, 10 Sep 2003 11:06:47 -0400
>Lines: 4
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#5**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 207.14.226.36
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Is there any way to unregister a ActivatedClientType?
>thanks, Ricky Jones
>
>
>



Nov 22 '05 #6
Thank you for your help
Looking at the Activator.CreateInstance in the MSDN library I was unable to
find any information on the call being used in that fashion
Is there anywhere else that I can find information on the
activationAttributes paramaters and what is allowed to be passed in.
Again thanks alot for your help.

Thanks,
Ricky Jones

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Hy*************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I think you may try to use the CreateInstance method of Activator.
Here is my demo.
public static void Main()
{
ChannelServices.RegisterChannel(new TcpChannel());
HelloServiceClass service;
object[] url = {new UrlAttribute("tcp://localhost:8083/MyServer")};
try
{
//The line
will failed for the unavailable port.
service =
(HelloServiceClass)Activator.CreateInstance(typeof (HelloServiceClass),null,u rl);
}
catch(System.Reflection.TargetInvocationException e)
{
Console.WriteLine(e.ToString());
}
url[0] = new UrlAttribute("tcp://localhost:8082/MyServer");
//The line will succeed. service =
(HelloServiceClass)Activator.CreateInstance(typeof (HelloServiceClass),null,u rl);
if(service == null)
{
Console.WriteLine("Could not locate server.");
return;
}

// Calls the remote method.
Console.WriteLine();
Console.WriteLine("Calling remote object");
Console.WriteLine(service.HelloMethod("Caveman"));
Console.WriteLine(service.HelloMethod("Spaceman")) ;
Console.WriteLine(service.HelloMethod("Client Man"));
Console.WriteLine("Finished remote object call");
Console.WriteLine();
}

Did this does the job for you?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Ricky Jones" <rj****@hascientific.com>
References: <#5**************@tk2msftngp13.phx.gbl>

<Ao**************@cpmsftngxa06.phx.gbl>
Subject: Re: unregister ActivatedClientType
Date: Thu, 11 Sep 2003 09:10:44 -0400
Lines: 68
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ox*************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.56
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108144
X-Tomcat-NG: microsoft.public.dotnet.general

Thanks, for responding,

I accept a servername from the user, then I register an ActivatedClientType
to connect to the server. If you are unable to connect to the server it

will
allow the user to reenter the servername. At this point though you cannot
reregister the type to point to the new server location. I've started
looking into using the activator class, but that seems to only work for
wellknowclienttypes not activatedclienttypes.

I looked at the article you sent me, it seems as though that is if the
object is already created.

Also note I'm setting up the remoting configuration through code.

Thank You

Ricky Jones

H&A Scientific Inc.

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Ao**************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I do not think you can unregister an ActivatedClientTypeEntry after you
have registered it in the remoting config.
Can you tell me what you want to do?

Here is link, you may have a check and let me know if that is what you

want
to do.


http://groups.google.com/groups?hl=z...8&threadm=u6aP
e
69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DU
T F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r

I look forward to hearing from you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. --------------------
>From: "Ricky Jones" <rj****@hascientific.com>
>Subject: unregister ActivatedClientType
>Date: Wed, 10 Sep 2003 11:06:47 -0400
>Lines: 4
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#5**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 207.14.226.36
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Is there any way to unregister a ActivatedClientType?
>thanks, Ricky Jones
>
>
>


Nov 22 '05 #7
Hi Ricky,

The MSDN said,
An instance of a type can be created at a local or remote site. If the type
is created remotely, an activation attribute parameter specifies the URI of
the remote site. The call to create the instance might pass through
intermediary sites before it reaches the remote site. Other activation
attributes can modify the environment, or context, in which the call
operates at the remote and intermediary sites.

For more information, please check the link below.
Activator Class
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemactivatorclasstopic.asp
Activator.CreateInstance Method (Type, Object[], Object[])
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemactivatorclasscreateinstancetopic6.asp
Here is a link about Client Activation, you may have a look.

Client Activation
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconclientactivation.asp

If you have any related question, please feel free to let me know.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Ricky Jones" <rj****@hascientific.com>
References: <#5**************@tk2msftngp13.phx.gbl> <Ao**************@cpmsftngxa06.phx.gbl>
<Ox*************@TK2MSFTNGP11.phx.gbl>
<Hy*************@cpmsftngxa06.phx.gbl>Subject: Re: unregister ActivatedClientType
Date: Fri, 12 Sep 2003 09:36:21 -0400
Lines: 162
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eE**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.44
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108275
X-Tomcat-NG: microsoft.public.dotnet.general

Thank you for your help
Looking at the Activator.CreateInstance in the MSDN library I was unable to
find any information on the call being used in that fashion
Is there anywhere else that I can find information on the
activationAttributes paramaters and what is allowed to be passed in.
Again thanks alot for your help.

Thanks,
Ricky Jones

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Hy*************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I think you may try to use the CreateInstance method of Activator.
Here is my demo.
public static void Main()
{
ChannelServices.RegisterChannel(new TcpChannel());
HelloServiceClass service;
object[] url = {new UrlAttribute("tcp://localhost:8083/MyServer")};
try
{
//The line
will failed for the unavailable port.
service =

(HelloServiceClass)Activator.CreateInstance(typeo f(HelloServiceClass),null,

u
rl);
}
catch(System.Reflection.TargetInvocationException e)
{
Console.WriteLine(e.ToString());
}
url[0] = new UrlAttribute("tcp://localhost:8082/MyServer");
//The line will

succeed.
service =

(HelloServiceClass)Activator.CreateInstance(typeo f(HelloServiceClass),null,

u
rl);
if(service == null)
{
Console.WriteLine("Could not locate server.");
return;
}

// Calls the remote method.
Console.WriteLine();
Console.WriteLine("Calling remote object");
Console.WriteLine(service.HelloMethod("Caveman"));
Console.WriteLine(service.HelloMethod("Spaceman")) ;
Console.WriteLine(service.HelloMethod("Client Man"));
Console.WriteLine("Finished remote object call");
Console.WriteLine();
}

Did this does the job for you?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
>From: "Ricky Jones" <rj****@hascientific.com>
>References: <#5**************@tk2msftngp13.phx.gbl>

<Ao**************@cpmsftngxa06.phx.gbl>
>Subject: Re: unregister ActivatedClientType
>Date: Thu, 11 Sep 2003 09:10:44 -0400
>Lines: 68
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <Ox*************@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 207.14.226.56
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108144
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Thanks, for responding,
>
>I accept a servername from the user, then I register anActivatedClientType >to connect to the server. If you are unable to connect to the server it

will
>allow the user to reenter the servername. At this point though you cannot >reregister the type to point to the new server location. I've started
>looking into using the activator class, but that seems to only work for
>wellknowclienttypes not activatedclienttypes.
>
>I looked at the article you sent me, it seems as though that is if the
>object is already created.
>
>Also note I'm setting up the remoting configuration through code.
>
>Thank You
>
>Ricky Jones
>
>H&A Scientific Inc.
>
>"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
>news:Ao**************@cpmsftngxa06.phx.gbl...
>> Hi Ricky,
>>
>> I do not think you can unregister an ActivatedClientTypeEntry after you >> have registered it in the remoting config.
>> Can you tell me what you want to do?
>>
>> Here is link, you may have a check and let me know if that is what you
>want
>> to do.
>>


http://groups.google.com/groups?hl=z...-8&threadm=u6a

P e
>>


69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3D U T
>> F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r
>>
>> I look forward to hearing from you.
>>
>> Regards,
>> Peter Huang
>> Microsoft Online Partner Support
>> Get Secure! www.microsoft.com/security
>> This posting is provided "as is" with no warranties and confers no

rights.
>> --------------------
>> >From: "Ricky Jones" <rj****@hascientific.com>
>> >Subject: unregister ActivatedClientType
>> >Date: Wed, 10 Sep 2003 11:06:47 -0400
>> >Lines: 4
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <#5**************@tk2msftngp13.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.general
>> >NNTP-Posting-Host: 207.14.226.36
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
>> >X-Tomcat-NG: microsoft.public.dotnet.general
>> >
>> >Is there any way to unregister a ActivatedClientType?
>> >thanks, Ricky Jones
>> >
>> >
>> >
>>
>
>
>



Nov 22 '05 #8
Thank you for your help.
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:rf****************@cpmsftngxa07.phx.gbl...
Hi Ricky,

The MSDN said,
An instance of a type can be created at a local or remote site. If the type is created remotely, an activation attribute parameter specifies the URI of the remote site. The call to create the instance might pass through
intermediary sites before it reaches the remote site. Other activation
attributes can modify the environment, or context, in which the call
operates at the remote and intermediary sites.

For more information, please check the link below.
Activator Class
http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfsystemactivatorclasstopic.asp
Activator.CreateInstance Method (Type, Object[], Object[])
http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfsystemactivatorclasscreateinstancetopic6.asp
Here is a link about Client Activation, you may have a look.

Client Activation
http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpconclientactivation.asp

If you have any related question, please feel free to let me know.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Ricky Jones" <rj****@hascientific.com>
References: <#5**************@tk2msftngp13.phx.gbl>

<Ao**************@cpmsftngxa06.phx.gbl>
<Ox*************@TK2MSFTNGP11.phx.gbl>
<Hy*************@cpmsftngxa06.phx.gbl>
Subject: Re: unregister ActivatedClientType
Date: Fri, 12 Sep 2003 09:36:21 -0400
Lines: 162
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eE**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.44
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108275
X-Tomcat-NG: microsoft.public.dotnet.general

Thank you for your help
Looking at the Activator.CreateInstance in the MSDN library I was unable to
find any information on the call being used in that fashion
Is there anywhere else that I can find information on the
activationAttributes paramaters and what is allowed to be passed in.
Again thanks alot for your help.

Thanks,
Ricky Jones

"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:Hy*************@cpmsftngxa06.phx.gbl...
Hi Ricky,

I think you may try to use the CreateInstance method of Activator.
Here is my demo.
public static void Main()
{
ChannelServices.RegisterChannel(new TcpChannel());
HelloServiceClass service;
object[] url = {new UrlAttribute("tcp://localhost:8083/MyServer")};
try
{
//The

line will failed for the unavailable port.
service =

(HelloServiceClass)Activator.CreateInstance(typeo f(HelloServiceClass),null,
u rl);
}
catch(System.Reflection.TargetInvocationException e)
{
Console.WriteLine(e.ToString());
}
url[0] = new UrlAttribute("tcp://localhost:8082/MyServer");
//The line will

succeed.
service =

(HelloServiceClass)Activator.CreateInstance(typeo f(HelloServiceClass),null,
u rl);
if(service == null)
{
Console.WriteLine("Could not locate server.");
return;
}

// Calls the remote method.
Console.WriteLine();
Console.WriteLine("Calling remote object");
Console.WriteLine(service.HelloMethod("Caveman"));
Console.WriteLine(service.HelloMethod("Spaceman")) ;
Console.WriteLine(service.HelloMethod("Client Man"));
Console.WriteLine("Finished remote object call");
Console.WriteLine();
}

Did this does the job for you?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
>From: "Ricky Jones" <rj****@hascientific.com>
>References: <#5**************@tk2msftngp13.phx.gbl>
<Ao**************@cpmsftngxa06.phx.gbl>
>Subject: Re: unregister ActivatedClientType
>Date: Thu, 11 Sep 2003 09:10:44 -0400
>Lines: 68
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <Ox*************@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 207.14.226.56
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108144
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Thanks, for responding,
>
>I accept a servername from the user, then I register an

ActivatedClientType
>to connect to the server. If you are unable to connect to the server it will
>allow the user to reenter the servername. At this point though you cannot >reregister the type to point to the new server location. I've started
>looking into using the activator class, but that seems to only work for >wellknowclienttypes not activatedclienttypes.
>
>I looked at the article you sent me, it seems as though that is if the
>object is already created.
>
>Also note I'm setting up the remoting configuration through code.
>
>Thank You
>
>Ricky Jones
>
>H&A Scientific Inc.
>
>"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
>news:Ao**************@cpmsftngxa06.phx.gbl...
>> Hi Ricky,
>>
>> I do not think you can unregister an ActivatedClientTypeEntry after you >> have registered it in the remoting config.
>> Can you tell me what you want to do?
>>
>> Here is link, you may have a check and let me know if that is what you >want
>> to do.
>>
http://groups.google.com/groups?hl=z...-8&threadm=u6a

P e
>>
69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3D

U T
>> F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r
>>
>> I look forward to hearing from you.
>>
>> Regards,
>> Peter Huang
>> Microsoft Online Partner Support
>> Get Secure! www.microsoft.com/security
>> This posting is provided "as is" with no warranties and confers no
rights.
>> --------------------
>> >From: "Ricky Jones" <rj****@hascientific.com>
>> >Subject: unregister ActivatedClientType
>> >Date: Wed, 10 Sep 2003 11:06:47 -0400
>> >Lines: 4
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <#5**************@tk2msftngp13.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.general
>> >NNTP-Posting-Host: 207.14.226.36
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl >> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
>> >X-Tomcat-NG: microsoft.public.dotnet.general
>> >
>> >Is there any way to unregister a ActivatedClientType?
>> >thanks, Ricky Jones
>> >
>> >
>> >
>>
>
>
>


Nov 22 '05 #9
Hi Ricky,

I am glad that I can help you.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
From: "Ricky Jones" <rj****@hascientific.com>
References: <#5**************@tk2msftngp13.phx.gbl> <Ao**************@cpmsftngxa06.phx.gbl>
<Ox*************@TK2MSFTNGP11.phx.gbl>
<Hy*************@cpmsftngxa06.phx.gbl>
<eE**************@tk2msftngp13.phx.gbl>
<rf**************@cpmsftngxa07.phx.gbl>Subject: Re: unregister ActivatedClientType
Date: Mon, 15 Sep 2003 09:23:39 -0400
Lines: 246
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#T**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 207.14.226.57
Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP11.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:108221
X-Tomcat-NG: microsoft.public.dotnet.general

Thank you for your help.
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:rf****************@cpmsftngxa07.phx.gbl...
Hi Ricky,

The MSDN said,
An instance of a type can be created at a local or remote site. If the

type
is created remotely, an activation attribute parameter specifies the URI

of
the remote site. The call to create the instance might pass through
intermediary sites before it reaches the remote site. Other activation
attributes can modify the environment, or context, in which the call
operates at the remote and intermediary sites.

For more information, please check the link below.
Activator Class

http://msdn.microsoft.com/library/de...-us/cpref/html

/
frlrfsystemactivatorclasstopic.asp
Activator.CreateInstance Method (Type, Object[], Object[])

http://msdn.microsoft.com/library/de...-us/cpref/html

/
frlrfsystemactivatorclasscreateinstancetopic6.asp
Here is a link about Client Activation, you may have a look.

Client Activation

http://msdn.microsoft.com/library/de...-us/cpguide/ht

m
l/cpconclientactivation.asp

If you have any related question, please feel free to let me know.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
>From: "Ricky Jones" <rj****@hascientific.com>
>References: <#5**************@tk2msftngp13.phx.gbl>

<Ao**************@cpmsftngxa06.phx.gbl>
<Ox*************@TK2MSFTNGP11.phx.gbl>
<Hy*************@cpmsftngxa06.phx.gbl>
>Subject: Re: unregister ActivatedClientType
>Date: Fri, 12 Sep 2003 09:36:21 -0400
>Lines: 162
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <eE**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.general
>NNTP-Posting-Host: 207.14.226.44
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108275
>X-Tomcat-NG: microsoft.public.dotnet.general
>
>Thank you for your help
>Looking at the Activator.CreateInstance in the MSDN library I was unableto >find any information on the call being used in that fashion
>Is there anywhere else that I can find information on the
>activationAttributes paramaters and what is allowed to be passed in.
>Again thanks alot for your help.
>
>Thanks,
>Ricky Jones
>
>"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
>news:Hy*************@cpmsftngxa06.phx.gbl...
>> Hi Ricky,
>>
>> I think you may try to use the CreateInstance method of Activator.
>> Here is my demo.
>> public static void Main()
>> {
>> ChannelServices.RegisterChannel(new TcpChannel());
>> HelloServiceClass service;
>> object[] url = {new UrlAttribute("tcp://localhost:8083/MyServer")};
>> try
>> {
>> //The

line
>> will failed for the unavailable port.
>> service =
>>


(HelloServiceClass)Activator.CreateInstance(type of(HelloServiceClass),null , u
>> rl);
>> }
>> catch(System.Reflection.TargetInvocationException e)
>> {
>> Console.WriteLine(e.ToString());
>> }
>> url[0] = new UrlAttribute("tcp://localhost:8082/MyServer");
>> //The line will
>succeed.
>> service =
>>


(HelloServiceClass)Activator.CreateInstance(type of(HelloServiceClass),null , u
>> rl);
>> if(service == null)
>> {
>> Console.WriteLine("Could not locate server.");
>> return;
>> }
>>
>> // Calls the remote method.
>> Console.WriteLine();
>> Console.WriteLine("Calling remote object");
>> Console.WriteLine(service.HelloMethod("Caveman"));
>> Console.WriteLine(service.HelloMethod("Spaceman")) ;
>> Console.WriteLine(service.HelloMethod("Client Man"));
>> Console.WriteLine("Finished remote object call");
>> Console.WriteLine();
>> }
>>
>> Did this does the job for you?
>>
>> Regards,
>> Peter Huang
>> Microsoft Online Partner Support
>> Get Secure! www.microsoft.com/security
>> This posting is provided "as is" with no warranties and confers no

rights.
>>
>> --------------------
>> >From: "Ricky Jones" <rj****@hascientific.com>
>> >References: <#5**************@tk2msftngp13.phx.gbl>
>> <Ao**************@cpmsftngxa06.phx.gbl>
>> >Subject: Re: unregister ActivatedClientType
>> >Date: Thu, 11 Sep 2003 09:10:44 -0400
>> >Lines: 68
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <Ox*************@TK2MSFTNGP11.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.general
>> >NNTP-Posting-Host: 207.14.226.56
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108144
>> >X-Tomcat-NG: microsoft.public.dotnet.general
>> >
>> >Thanks, for responding,
>> >
>> >I accept a servername from the user, then I register an
>ActivatedClientType
>> >to connect to the server. If you are unable to connect to the serverit >> will
>> >allow the user to reenter the servername. At this point though you

cannot
>> >reregister the type to point to the new server location. I've started
>> >looking into using the activator class, but that seems to only workfor >> >wellknowclienttypes not activatedclienttypes.
>> >
>> >I looked at the article you sent me, it seems as though that is if the >> >object is already created.
>> >
>> >Also note I'm setting up the remoting configuration through code.
>> >
>> >Thank You
>> >
>> >Ricky Jones
>> >
>> >H&A Scientific Inc.
>> >
>> >"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
>> >news:Ao**************@cpmsftngxa06.phx.gbl...
>> >> Hi Ricky,
>> >>
>> >> I do not think you can unregister an ActivatedClientTypeEntry after

you
>> >> have registered it in the remoting config.
>> >> Can you tell me what you want to do?
>> >>
>> >> Here is link, you may have a check and let me know if that is whatyou >> >want
>> >> to do.
>> >>
>>

http://groups.google.com/groups?hl=z...F-8&threadm=u6
a P
>> e
>> >>
>>

69hCHA.1392%40tkmsftngp12&rnum=2&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3
D U
>> T
>> >> F-8%26oe%3DUTF-8%26q%3DActivatedClientTypeEntry%2Band%2Bunregiste r
>> >>
>> >> I look forward to hearing from you.
>> >>
>> >> Regards,
>> >> Peter Huang
>> >> Microsoft Online Partner Support
>> >> Get Secure! www.microsoft.com/security
>> >> This posting is provided "as is" with no warranties and confers no
>> rights.
>> >> --------------------
>> >> >From: "Ricky Jones" <rj****@hascientific.com>
>> >> >Subject: unregister ActivatedClientType
>> >> >Date: Wed, 10 Sep 2003 11:06:47 -0400
>> >> >Lines: 4
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <#5**************@tk2msftngp13.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.general
>> >> >NNTP-Posting-Host: 207.14.226.36
>> >> >Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl >> >> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107959
>> >> >X-Tomcat-NG: microsoft.public.dotnet.general
>> >> >
>> >> >Is there any way to unregister a ActivatedClientType?
>> >> >thanks, Ricky Jones
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>



Nov 22 '05 #10

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

Similar topics

9
by: Ricky Jones | last post by:
Is there any way to unregister a ActivatedClientType? thanks, Ricky Jones
0
by: jazzman | last post by:
Hi, I have an MMC snap-in dll project, which I have just upgraded from visual studio 6 to visual studio .NET. Everything works fine, apart from when I try and unregister the dll using regsvr32...
0
by: Howard Kaikow | last post by:
Today, I constructed the step by step example in KB article 302896, "HOW TO: Build an Office COM Add-in by using Visual Basic .NET. No problem doing this and, as expected, the add-in worked with...
1
by: krose | last post by:
Hi Using a couple of examples on CodeProject.com I've create a nice little shell extension (adds some custom menus for proprietary file types). Everything is working fine, except I can't get it...
3
by: Oskar Vaia | last post by:
Hy, i have build an Outlook COM-Add-In with VB.NET. It works fine. Now i want to unregister the COM-Add-In. How can i effort this? It is not possible to do this with the...
1
by: CodeRazor | last post by:
Hi, I need to be able to register client script within a web user control. I then need to unregister it. How can I do this. I cannot find an unregister method..... Many thanks, coderazor
3
by: =?Utf-8?B?UmljaA==?= | last post by:
I created a custom dll to use .net objects in com environment. It works fine. Then I copied the dll to another workstation and manually registered it, and it works fine there also. Now I need to...
0
by: Laila2008 | last post by:
Hi, I need to add a 'WebDialog' component on to a webpage everytime a user clicks on a button. This is the error I'm getting: Cannot unregister UpdatePanel with ID 'dialog0_UpdateContainer'...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.