I would suggest omitting the ".PRG" from your commands so it would look like
DO DOREPORT
DO DOLABEL
Give it a try and see if that helps.
Larry
>Hi, everyone,
>
>I have a project which has the main program called CBX.PRG, also have two other programs namely DOREPORT.PRG, DOLABEL.PRG. All of the above files are included in the current project. After building the project, I transfered the CBX.EXE in a test environment which doesn't include the source code. The application runs and displays appropriate forms and so on. Howerver, when I pressed the buttons that calls DOREPORT.PRG and DOLABEL.PRG, I couldn't get any result. They worked fine when tested from the Command window in VFP7 development environment. So, it seems to me that DOREPORT.PRG and DOLABEL.PRG are not "BUILD" into the executable, even though I have made sure that they are "included" in the project. They are called, from the buttons, as follows respectively:
>DO DOREPORT.PRG
>DO DOLABEL.PRG
>
>Am I missing anything here?
>
>Any help will be mostly appreciated!
>
>Dawa
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA