Start independent Application form memory

Posted on 2009-04-26
Last Modified: 2012-05-06
I need to start an independent application from the beginning application.
Aka, I need to compile and run C# code from the first app, without saving anything to the hard drive, and then be able to close the beginning application.
Question by:mazzzzz
    LVL 26

    Expert Comment

    by:Anurag Thakur
    quite a different kind of requirement..... i dont thik that the compilation will work without saving files to the disk
    one part of the question - sample for how to do the compilation
    LVL 1

    Author Comment

    Yeah, I tried the above article already, the problem is that when you close the mother form, it will also close the generated form..

    LVL 1

    Author Comment

    I need a way to compile it, and then run it independently..
    LVL 26

    Accepted Solution

    i never mentioned that the second part is even possible
    its the way i think the operating system is built.
    if the process from which another process is started and when the host process dies then all the child processes will also die

    i think there is some flaw in the way the requirement is taken or the design is made and there is a scope of improving because in your initial requirement you state that the files should not be saved on the disk itself
    LVL 1

    Author Comment

    The mother would be saved to hard drive, just not the Child.  Is there a way to call up a cmd and run a few commands??
    The thing that Im trying to do is run a few commands after the Mother program closes (Completely closes), the problem I run into is that any hack won't run on many types of computers.  I need sothing that will work across many different set-ups/security clearance (aka, limited users should be able to run this, not just Admins).
    Any help would be great, thanks,

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Article by: Ivo
    C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    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…

    733 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