all groups > dotnet jscript > january 2006 >
You're in the

dotnet jscript

group:

Connecting to a .Net Object



Connecting to a .Net Object Bob
1/10/2006 7:38:12 AM
dotnet jscript: I inherited some jscript. I don't know much about it. The following
code:

var o = new ActiveXObject("ASCMenu.Application")
o.DoCmd(MyString);

seems to hook up with an ActiveXObejct that is currently running.
Application is a class in the object which is VB6 and DoCmd is a method
of the class. I want to hook up with a .Net Executable instead but I
don't know the equivalent code for a .Net object. Can anyone help?


Bob
Re: Connecting to a .Net Object Yunus Emre ALPÖZEN [MVP]
1/22/2006 5:13:29 PM
You may implement a serviced component. You can find more information at
msdn for ServicedComponent abstract class

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystementerpriseservicesservicedcomponentclasstopic.asp


--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
Microsoft .NET & Security MVP

[quoted text, click to view]

AddThis Social Bookmark Button