I'm trying to get the user input a line of code and then execute it. I want it to look like this:
or there is a way to write the string to a file and then execute it?
thanx in advance
SkyFighter
Code:
Private Sub inputbox_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then commandline$ = inputbox.Text
End Sub
Private Sub Command1_Click()
commandline$ 'execute the command
End Sub
thanx in advance
SkyFighter