Posted: Sat Nov 09, 2002 11:02 pm
Restored from previous forum. Originally posted by TheDanishGuy.
Hi ..
im strugling with some problems as a Purebasic beginner, so here goes and please bare with me.
lets say i have a small DOS utillity thats named FIX.exe ... it might fix the user credentials for a user, - the syntax to use this program might be like :
"fix Peter /apply" ... where "fix" is the program name, and "Peter" is the name of the person the progran should fix and /apply is an additional "parameter"
1. Now comes the tricky part for me a new programmer, "Peter" is written into a box by the operator, then when he pushes a button, this button should execute a specific command on this user, in this case "fix Peter /apply" .. so i need to figure out how to paste Peter into the middle of a command string
(im thinking on having multible buttons, but every button executes commands on the current username in the box)
2. Next i need to catch the return answer of this command and display it in a seperate box
all of theese commands above would normally be done in a DOS promt, - but im trying to spice it up and build a kind of GUI
kind of a looong question, but any ideas ? thanks in advance !
The Danish Guy , a proud Registered Purebasic newcommer
Hi ..
im strugling with some problems as a Purebasic beginner, so here goes and please bare with me.
lets say i have a small DOS utillity thats named FIX.exe ... it might fix the user credentials for a user, - the syntax to use this program might be like :
"fix Peter /apply" ... where "fix" is the program name, and "Peter" is the name of the person the progran should fix and /apply is an additional "parameter"
1. Now comes the tricky part for me a new programmer, "Peter" is written into a box by the operator, then when he pushes a button, this button should execute a specific command on this user, in this case "fix Peter /apply" .. so i need to figure out how to paste Peter into the middle of a command string
(im thinking on having multible buttons, but every button executes commands on the current username in the box)
2. Next i need to catch the return answer of this command and display it in a seperate box
all of theese commands above would normally be done in a DOS promt, - but im trying to spice it up and build a kind of GUI
kind of a looong question, but any ideas ? thanks in advance !
The Danish Guy , a proud Registered Purebasic newcommer