Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was wondering if there was a way to re-save the form with the controls and commands, for example. its all in the win form by the way

the normel form

C#
int btnumber = 0;
  private void pictureBox1_Click(object sender, EventArgs e)
  {
messagebox.show("HI");

  }


Edited form

C#
int btnumber = 0;
  private void pictureBox1_Click(object sender, EventArgs e)
  {
   messagebox.show("You just edited me");

  }


and visually

the normel form

******
*btn_ *
******

the edited form

******
*_btn*
******

so when i move the control it will be saved to. so for the saving I mean no going to the debug folder and grabbing the exe, i mean with-in the program I move stuff around and change the programs appearance and I can then save that from of what it looks like in the form, think of this like saving a txt file, and a better example would be C#,VB,C++ these programs once I debug the program it auto saves the from into the debug folder, I hope you can understand what I mean, And I was wondering if there was any links or something that will help me meet this goal?
Posted
Comments
bbirajdar 5-Jul-12 5:14am    
Hold on.. I am trying to understand what you mean...
Pasan Eeriyagama 5-Jul-12 6:07am    
Why on earth you need to create an EXE from another EXE. What is that for..?
[no name] 5-Jul-12 7:32am    
think of this as VB with-out the coding
[no name] 5-Jul-12 8:23am    
First thing I question why you think that you would want to do this in the first place. Secondly, save your changes to configuration files and read them back when your program runs. Thirdly if you really want to create an exe from another exe save your information and then use the built in compiler to compile the changes. I think that whatever your goal is, you will find that it's way more trouble than it's worth.
[no name] 5-Jul-12 22:11pm    
Dose saying, it will be a program that can create programs help?

1 solution

You cannot do this. You need to compile code to see the results of any UI changed (moving buttont etc) in the application.

The file is saved (with changes) as an frm etc once you do a save. However, you can only run these changes after compilation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900