Hi wOOdy!
You may have the answer: it's definitely NOT the same folder tree...not even the same DRIVE! That makes a difference?!?? I figured it still had the defined form in its saved memory space and would use that!
On 12/7/2020 3:58 AM, Jürgen Wondzinski wrote:
Hi Mike,
Maybe, when compiling the EXE you are not saving tot he project folder? Always (!) save your exe to the project-root folder. Next idea: When calling the form, use the relative pathing to that form: i.e. DO FORM forms\myform.scx
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von MB Software Solutions, LLC Gesendet: Sonntag, 6. Dezember 2020 04:32 An: ProFox Email List profox@leafe.com Betreff: SCX form included in EXE is not found on DO FORM line
VFP9SP2 - Win 7 Pro
43 second demo showing the problem: https://www.screencast.com/t/ZjyWYqFI
The SCX form is included in the EXE. I'm running the EXE. DO FORM <formname> errors saying that the form is not found. Makes no sense to me. Now the app (a legacy app that I inherited which is very dirty) changes the path but still....if the SCX form is included in the EXE, why in the world would it not be found on DO FORM frmMyForm???????
tia, --Mike
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
[excessive quoting removed by server]