Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new to FoxPro: how to generate .spr files???

Status
Not open for further replies.

rushtosri

Programmer
Feb 25, 2001
80
US
I'm very new to FoxPro. I've created .spx file. Can anyone tell me how to generate .spr file from command window?? I use FoxPro 2.6 for windows.

Hope u people out there encourage this new comer.
 
rushtosri,
You can't really generate the .SPR file from the command window - the genscrn.prg requires the screen to be in a project, so when you do it from the menu it creates a "fake" project to generate the .SPR code from. You need to open the screen, and then on the Menu choose Program -> Generate... -> then click the Generate button. You can then generate the .SPX file by choosing Program -> Compile... -> then choosing the .SPR you just created. Note: You can do the Compile from the command window:
COMPILE myprog.SPR

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top