Re: Remoting access from VBScript



..NET remoting requires .NET at both sides, what you are looking for is COM
interop, more precisely DCOM.

Willy.

<kiranreddyd@xxxxxxxxx> wrote in message
news:1146576379.178797.5960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|I have trouble accessing a remoting object from non .Net client say
| VBScript. I've created a Windows Service written in C#. The Service
| exposes a remoting object using the http channel. The remoting object
| has one function - HelloWorld() that returns a string.
|
| I can call the function by using a simple c# program:
|
| HttpChannel chan = new HttpChannel(0);
| ChannelServices.RegisterChannel(chan);
| MarshalByRefObject obj =
| (MarshalByRefObject)RemotingServices.Connect(typeof(TestServer.IHelloWorld
| ),
|
| TestServer.IHelloWorld o = obj as TestSvc.IHelloWorld;
| string hello = o.HelloWorld(); // hello now contains "Hello"
|
|
| I can't figure out, however, how to call this same function from a
| VBScript . Can someone please help me out.
|
| Thanks in advance.
|
| Regards
| Kiran
|


.



Relevant Pages

  • IE hosted control - 100 sec delay at startup
    ... I'm creating a control that will be hosted in internet explorer and use ... The remoting object is a single call server activated object. ... System.Runtime.Remoting.Channels.ITransportHeaders requestHeaders = ...
    (microsoft.public.dotnet.framework.remoting)
  • remoting... connections pooling?
    ... I decide to use remoting as a communication solution between my main service ... and the billing service. ... I have a function that create an instance of a remoting object and call some ... this instance can handle simultaneus request? ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Cant debug managed C++ remoting object from ASP.NET page.
    ... remoting server application, ... > am trying to step into the managed C++ remoting object with the debugger, ... > Senior Software Engineer ...
    (microsoft.public.vsnet.debugging)
  • Re: IE hosted control - 100 sec delay at startup
    ... > I'm creating a control that will be hosted in internet explorer and use ... > The remoting object is a single call server activated object. ...
    (microsoft.public.dotnet.framework.remoting)
  • dataadapter fill performance problem
    ... remoting server program on a marshaled object ... in the remoting object (the same ... if any1 want i will send him the remoting configuration section in the ...
    (microsoft.public.dotnet.framework.remoting)

Loading