954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Creating an exe file

Hi. I have a program that allows users to enter their information. After they have entered their information and clicked on submit, the program will create another exe file so that when the user opens the exe file, they will be able to see their information.

How can I create a exe file from another exe file???

rickykoh1983
Newbie Poster
7 posts since Aug 2003
Reputation Points: 12
Solved Threads: 0
 

I found this link for ya

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20440921.html#7654606

I don't know if it would be of much help though.

cscgal
The Queen of DaniWeb
Administrator
19,423 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

Thanks for your help. But I wish to do this in C++. How can I make this possible?

rickykoh1983
Newbie Poster
7 posts since Aug 2003
Reputation Points: 12
Solved Threads: 0
 
I found this link for ya http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20440921.html#7654606 I don't know if it would be of much help though.


Hi please help me, i have a .exe file for my c++ program, but I don't want that. I need to find how it calls my main function. Is it possible?

RamPrasad710
Newbie Poster
3 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

You could generate valid c++ code that does a few couts to display the text and then output that to a text file and use system() with a command line compiler to compile it into an exe.

prushik
Junior Poster
101 posts since Oct 2007
Reputation Points: 61
Solved Threads: 5
 
You could generate valid c++ code that does a few couts to display the text and then output that to a text file and use system() with a command line compiler to compile it into an exe.


Oh, by the way, I know it was my suggestion, but I should tell you that it would be very bad programming practice.

prushik
Junior Poster
101 posts since Oct 2007
Reputation Points: 61
Solved Threads: 5
 
Oh, by the way, I know it was my suggestion, but I should tell you that it would be very bad programming practice.

Actually my exe file is there in /bin directory, so is it mandatory that if i have to create a .exe file in the same? Also I cannot find any where in the program, where it is mentioned to make .exe file to come into the picture.

RamPrasad710
Newbie Poster
3 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You