Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

can I load an outside application

can I load an outside application into a appdomain and then load it or execute function inside it?
0
Micki-Weaver
Asked:
Micki-Weaver
  • 2
1 Solution
 
Bob LearnedCommented:
Here is an interesting code article about AppDomain and dynamic code execution:

Dynamically executing code in .Net
http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm

Execution example is here:
string lcResult = (string) loScript.ExecuteMethod(lcCode,"Test","rick strahl",x);

Bob
0
 
Micki-WeaverAuthor Commented:
I need to load a EXE, that I do not know about, the article could help if I rip the code out and the execute it, but I don't think that would be totally stable
0
 
Micki-WeaverAuthor Commented:
thanks for the cool link
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now