Message
From
25/06/2001 20:56:04
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Calling Functions in Prg while testing forms????
Miscellaneous
Thread ID:
00523366
Message ID:
00523366
Views:
39
I have a program file... mymain.prg that has some functions I need on forms. The final app will built to an exe. I realize after I BUILD the exe and run it, the app works fine. But as I am testing using the Project manager I am not so lucky.

As I am working on forms, button commands, etc, I need to call these functions. The only way I can get the "prg" file to be recongnized is to type:

set default to "c:\myapp
set procedure to mymain.prg

Is there a way to ensure this is done during these testing processes WITHOUT having to type these two lines? I haven't found the pattern yet but as I am changing function lines in the PRG or working on the form, when I "run" it to test it, I often have to REDO those lines above.

What am I missing here?

Thanks
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Next
Reply
Map
View