How to creat exe files?
-
Hey every one... I am asking about how to creat exe files from my application... I want to make a program that creat other .exe files with a specific values. for example, When I am running my application, I enter a value (let's say my name) and click on a button named "creat", then an valid exe file will be created and the value (my name) will be inside it. thanks : )
-
Hey every one... I am asking about how to creat exe files from my application... I want to make a program that creat other .exe files with a specific values. for example, When I am running my application, I enter a value (let's say my name) and click on a button named "creat", then an valid exe file will be created and the value (my name) will be inside it. thanks : )
-
what you're asking is very simple but I am curious what would you like the exe to do. and then I will give you a solution gabby
:)I liked your answer. To many of the quesions (small amount) seem to be aimed in the wrong direction. This is a new one and I would also like to know what he would what it to do. INTP
-
:)I liked your answer. To many of the quesions (small amount) seem to be aimed in the wrong direction. This is a new one and I would also like to know what he would what it to do. INTP
:-DHey :omg: what's happening here. :eek: ????????
-
:-DHey :omg: what's happening here. :eek: ????????
I don't know why you thing I will use it in the wrong way? ( I don't know how it can be used in a wrong way?) and I want the exe file to include some buttons and edit box, or maybe include some codes to solve a math. question or any thing else. why I want exe file? because it is an extension file, and I already study how to make the other files, like .txt or .html, but never learnt how to make .exe files so I will be thankful for any help, and Believe me I am not going to use it in wrong way. :)
-
I don't know why you thing I will use it in the wrong way? ( I don't know how it can be used in a wrong way?) and I want the exe file to include some buttons and edit box, or maybe include some codes to solve a math. question or any thing else. why I want exe file? because it is an extension file, and I already study how to make the other files, like .txt or .html, but never learnt how to make .exe files so I will be thankful for any help, and Believe me I am not going to use it in wrong way. :)
I think you are looking for Dialog based application. here is Some step that will help-: !-Open MS Visual Studio 6.0 !-Click on FILE|NEW,and wait for property page to open. !-select PROJECTS|MFC AppWizard(exe),Do remember to give the name of project.CLick Next !-Select type to Dialog based,and click next till wizrad over. !-now you are presented with Dialog Box editor,drag and drop your Control to Dialog box,build and execute the Preoject to see your exe ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
I think you are looking for Dialog based application. here is Some step that will help-: !-Open MS Visual Studio 6.0 !-Click on FILE|NEW,and wait for property page to open. !-select PROJECTS|MFC AppWizard(exe),Do remember to give the name of project.CLick Next !-Select type to Dialog based,and click next till wizrad over. !-now you are presented with Dialog Box editor,drag and drop your Control to Dialog box,build and execute the Preoject to see your exe ----------------------------- "I Think It Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
Yeah I know, but I want my project which is an exe file to creat other exe files. :sigh: thanks alot
you must first have the contetnt of the exe file somewhere. in the resources or just in an ordinary file. then you open the new file where you want it to be created: FILE *exec; exec=fopen(); while(true) { data=readfile(oldfile); fprintf(exec,data); } this is the idea of the code. To load it from the resources is a little longer code and I am tired so I won't write the code. try to read the MSDN more. good luck.
-
:)I liked your answer. To many of the quesions (small amount) seem to be aimed in the wrong direction. This is a new one and I would also like to know what he would what it to do. INTP
-
thank you. I think he ust said what the exe should do but it seems kind of hard to do. gabby
-
Thank you very much for your help.. I got also the idea of how to do it, but I still can't do it.... can you give which title i should search in MSDN I know it is hard, but I will not give up :) thanks again
Hmmm hard to tell.... The MSDN is really big. What sort of problem are you having now. If it is about manipulating files read about I/O functions which you can find by going to the index tag in the MSDN and type any of the functions (ex CopyFile) and in the bottom of the page you get a link like this: See Also File I/O Overview, File I/O Functions, CopyFileEx, CreateFile, MoveFile ; You may choose any of those but it advisable that you should choose "File I\O overview". Then if you have problems with manipulating strings go to the index tag as well in the MSDN and write a str function ( ex: strcmp) then you will see that the function has also an example along with the explanation. In the bottom of the page you get this link: "String Manipulation Routines". Push it and you will see al the possible functions all with an exapmle each. I thing that these were the issues you where concerned in, otherwise tell what exactly can't you do. Good Luck. gabby
-
Hmmm hard to tell.... The MSDN is really big. What sort of problem are you having now. If it is about manipulating files read about I/O functions which you can find by going to the index tag in the MSDN and type any of the functions (ex CopyFile) and in the bottom of the page you get a link like this: See Also File I/O Overview, File I/O Functions, CopyFileEx, CreateFile, MoveFile ; You may choose any of those but it advisable that you should choose "File I\O overview". Then if you have problems with manipulating strings go to the index tag as well in the MSDN and write a str function ( ex: strcmp) then you will see that the function has also an example along with the explanation. In the bottom of the page you get this link: "String Manipulation Routines". Push it and you will see al the possible functions all with an exapmle each. I thing that these were the issues you where concerned in, otherwise tell what exactly can't you do. Good Luck. gabby
-
Thanks alot man... your replay includes many things, so I need to be over them all, and try it one by one... so it will take some time until I ask the next question :) I am very thankful for your help thanks again ;)