How to: Run Programs
After you save a program, you can run it.
To run a standalone program
On the Program menu, click Do.
In the Do dialog box, browse for and select the program you want.
Click Do.
To run a program from a project
Open the project for your application in the Project Manager.
In the Project Manager, expand the Code node, and then the Programs node.
In the Programs node, select the program you want, and click Run.
To run a program programmatically
In the Command window, perform one of the following:
Use the DO command with the name of the program (.prg) file to run the program. For example:
DO MyProgram
Use the DO command with a question mark (?) to display the Do dialog box so you can browse for and select a program file. For example:
DO ?
See Also
Tasks
Reference
DO Command
Command Window (Visual FoxPro)
Project Manager Window