On Saturday, September 11, 2004, at 01:31 AM, Brian Heibert wrote: > Here's some code in my program > > long if cmd$ = "SHUTDOWN" > SHUTDOWN > end select > > How can I get user input from my edit field like if they say > SHUTDOWN then put any text here > > So I can get the text after SHUTDOWN and use it > > Brian You already know how to get text from an edit field. If you need a portion, use MID$, LEFT$ and RIGHT$ Robert