Help: Compile form to exe (programmatically)

Maaatt

Member
Joined
Sep 4, 2006
Messages
16
Programming Experience
Beginner
I've searched the net, the forums, fiddled, fiddled again, everything. I can't seem to make my first forms button compile the second form into an executable. Is it possible? Could you do it?

If anybody could do this for me i'd appreciate it. I've been trying for 3 days straight and i can't seem to manage it...

~ Maaatt
 
A little confused as to what you are trying to do here. Are you trying to create a separate executable out of a form that you have made when you click your button? If so, could i just ask why you would want to do this?
 
He wants, in runtime, to create an instance of the compiler object (which I believe is possible) and pass it something to compile.
 
Well yes, i know it's possible. You can invoke the VBC via a command prompt or use the CodeDom namespace to compile code and create classes etc at runtime. However my question is, that if there is already another form inside the project. It is already part of the same executable, so why try to compile it into a new one.
 
Hey guys, thanks for replying. I downloaded a project from one of the source code sites to help me learn how it works. Thanks again
 
Back
Top