I want to be able to execute a line of code that has been typed into a text box by a user (say form1.show) when a button is pressed. I've tried placing text1.text in the click event of the button, however that does not work. Any ideas or work arounds would be greatfully appreciated.