Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2004

Tip: Looking for answers? Try searching our database.

Creating .Net to .Net automation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James Vaughn - 08 Sep 2004 16:33 GMT
I have successfully written C# .Net applications that automate excel and
word.  Now I need to implement automation between .Net applications and I am
thoroughly confused.  Interop refers to COM - .NET interoperability, is it
applicable?  In my fiddling I have tried to link to my running .NET apps
only to spawn new instances.  I want to link to the current running instance
and automate it just I do with Word and Excel.

Can someone point me in the right direction?
Bill Menees - 22 Sep 2004 16:36 GMT
You'll need to use .NET Remoting to do this.  Register a "well known" object
from your server EXE using
RemotingConfiguration.RegisterWellKnownServiceType.  Then use the
RemotingConfiguration.RegisterWellKnownClientType method and/or
Activator.GetObject method from your client EXE.

COM tried to make remoting transparent.  In .NET you have to be explicit
about setting it up.  But after you set it up, it works well and is fairly
transparent.

>I have successfully written C# .Net applications that automate excel and
> word.  Now I need to implement automation between .Net applications and I
[quoted text clipped - 6 lines]
>
> Can someone point me in the right direction?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.