Re-Writing Code?

Hello

How would I go about making a program were It re-writes the code of a button through the text of a textbox.

Let me clear this up a little bit more.

I'm working on a program that currently has 2 buttons and a textbox. Now when I press Button1 I want it to write TextBox1's Text into Button2's Code.

So for example: Lets say I put Msgbox("hello") into textbox1 and then pressed Button1, then pressed button2 and A message box saying Hello would pop-up.

If anyone knows how to do this, It could help me greatly

Thanx in advance.



Answer this question

Re-Writing Code?