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: 231
  • Last Modified:

Start independent Application form memory

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.
Thanks,
Max
0
mazzzzz
Asked:
mazzzzz
  • 3
  • 2
1 Solution
 
Anurag ThakurTechnical ManagerCommented:
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
http://www.codeproject.com/KB/codegen/Run-Time_Code_Generation1.aspx
0
 
mazzzzzAuthor Commented:
Yeah, I tried the above article already, the problem is that when you close the mother form, it will also close the generated form..

0
 
mazzzzzAuthor Commented:
I need a way to compile it, and then run it independently..
0
 
Anurag ThakurTechnical ManagerCommented:
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
0
 
mazzzzzAuthor Commented:
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,
max
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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