Click to See Complete Forum and Search --> : What is the function to use to run dos command?


October 19th, 1999, 09:34 AM
I have a command button, I want to use regedit dos command. Once I click on command button it will load registry editor.

Instead of type in regedit in the command line. I want to know is there any function that will apply in command button to make it work.

Harry Gilbert
October 19th, 1999, 09:46 AM
You can use the Shell function for this. For synchronizing programs, ie running one when the next is done, use the Windows API CreateProcess.