can I load an outside application

Posted on 2007-07-31
Last Modified: 2013-11-07
can I load an outside application into a appdomain and then load it or execute function inside it?
Question by:Micki-Weaver
    LVL 96

    Accepted Solution

    Here is an interesting code article about AppDomain and dynamic code execution:

    Dynamically executing code in .Net

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


    Author Comment

    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

    Author Comment

    thanks for the cool link

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now