PC Review


Reply
Thread Tools Rate Thread

Application Domains...

 
 
Alan Seunarayan
Guest
Posts: n/a
 
      18th May 2004
Hello all,
I am developing a .NET application that controls an existing .NET exe.
The problem is that for my application to run the secondary application it
has to reside in the same folder. If it doesn't then an exception is raised
from the secondary application saying that it cannot find certain
assemblies. How can i solve this?

Regards,

Alan


 
Reply With Quote
 
 
 
 
David Levine
Guest
Posts: n/a
 
      19th May 2004
One way is to create a 2nd appdomain, set the appbase to the directory of
the executable you are controlling, and start that executable from within
the context of the 2nd appdomain.

"Alan Seunarayan" <(E-Mail Removed)> wrote in message
news:%237hG$(E-Mail Removed)...
> Hello all,
> I am developing a .NET application that controls an existing .NET exe.
> The problem is that for my application to run the secondary application it
> has to reside in the same folder. If it doesn't then an exception is

raised
> from the secondary application saying that it cannot find certain
> assemblies. How can i solve this?
>
> Regards,
>
> Alan
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
One application... multiple domains =?Utf-8?B?Unlhbg==?= Microsoft ASP .NET 4 17th Dec 2005 01:40 AM
Remoting and application domains Striped Microsoft C# .NET 0 6th Jul 2005 08:17 PM
threads and application domains jonny Microsoft VC .NET 0 1st Sep 2004 03:21 AM
Application Domains... Alan Seunarayan Microsoft Dot NET Framework 1 19th May 2004 12:25 AM
RE: Unloading Application Domains Ben Albahari [MS] Microsoft Dot NET Compact Framework 0 17th Sep 2003 11:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:50 AM.