Automating a .NET App

A

Anthony Malt

Hi,

I'd like to programmatically attach to a small app with another app. What
the best way to achieve this?

Thanks in advance for any feedback.

Anthony Malt
 
V

vj

As long as u have source code for both can achieve this through events, and
Load Assembly concepts. The Load Assembly is possible with System.Reflection
Namespace.

VJ
 
N

Nick Malik [Microsoft]

jeremiah johnson said:
can this be done between machines on a LAN?


Can you provide some details of the actual problem you are trying to solve
with this bit of technical magic?

You can have one app start another across a network. It is called .Net
Remoting.


--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 
V

vj

Sure.. if you have a path to Assembly, you can load it from any location
local or remote...LAN. I am not sure if you can do through http or WAN.

VJ
 
A

Anthony Malt

Hi VJ,

Thanks for your help. Just to make sure that I understand what you wrote.
Does that mean that you can load the app2 from app1 even though both are in
different windows processes?

Thanks in advance for any advice
Anthony
 
W

Wiebe Tijsma

Anthony said:
Hi,

I'd like to programmatically attach to a small app with another app. What
the best way to achieve this?

Thanks in advance for any feedback.

Anthony Malt

Remoting is the preferred way to go...
 
N

naikrovek

Does that mean that you can load the app2 from app1 even though both are in
different windows processes?

Yes. Remoting allows you to do exactly this.

Think of it being similar to web services, but without
interoperability. Its a .NET only solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top