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
Mike, Try renaming the form to something else (like abc.scx) and then call the renamed form. Also, just verify in the project properties that this file is indeed included. (I know that you will see a icon in front of the file if it is excluded - but still..)
Ajit
On 06/12/2020 06:31, MB Software Solutions, LLC wrote:
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
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Hi Ajit,
Still fails: https://www.screencast.com/t/WXrKy7vCXu
So strange. This inherited project has always had "spectres" of a sort; things that made absolutely no sense (like this kind of "file not found" stuff).
On 12/6/2020 12:10 AM, Ajit Abraham wrote:
Mike, Try renaming the form to something else (like abc.scx) and then call the renamed form. Also, just verify in the project properties that this file is indeed included. (I know that you will see a icon in front of the file if it is excluded - but still..)
Ajit
On 06/12/2020 06:31, MB Software Solutions, LLC wrote:
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
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Hi Mike,
I know you might have tried all possible combinations to find the error. But here goes : That form is being linked to the object - loFrm. Have you tried running the form without assigning it to loFrm (just to check) DO FORM frmEditBank2 NOSHOW
Also, just before it hits DO FORM .... - are you do a MODI FORM frmEditBank2 successfully from the command prompt ?
Ajit
On 06/12/2020 19:30, MB Software Solutions, LLC wrote:
Hi Ajit,
Still fails: https://www.screencast.com/t/WXrKy7vCXu
So strange. This inherited project has always had "spectres" of a sort; things that made absolutely no sense (like this kind of "file not found" stuff).
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Can you check what SET("CLASSLIB") is set to, and SET("LIBRARY")? What is the stack, are things still running in the complied app?
Tracy
On December 6, 2020 11:30:28 AM EST, "MB Software Solutions, LLC" mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
Hi Ajit,
Still fails: https://www.screencast.com/t/WXrKy7vCXu
So strange. This inherited project has always had "spectres" of a sort; things that made absolutely no sense (like this kind of "file not found" stuff).
On 12/6/2020 12:10 AM, Ajit Abraham wrote:
Mike, Try renaming the form to something else (like abc.scx) and then call the renamed form. Also, just verify in the project properties that this file is indeed included. (I know that you will see a icon in front of the file if it is excluded - but still..)
Ajit
On 06/12/2020 06:31, MB Software Solutions, LLC wrote:
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
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
I've already pushed it out today, working around here. I put the actual path in to where it is on my dev machine (e:\dev\client\forms) and then it works. Here's the kicker: run from Production (not inside VFP) at the client site--even with that hardcoded path WHICH DOESN'T EXIST AT THE CLIENT--it works.
I've had similar "ghosts" with VCX-based forms as well. In fact, this USED to be a VCX-based form once-upon-a-time...that's why you see that commented out SET CLASSLIB command prior to the DO FORM call.
Have you guys ever experienced such weirdness?
On 12/6/2020 12:00 PM, Tracy Pearson wrote:
Can you check what SET("CLASSLIB") is set to, and SET("LIBRARY")? What is the stack, are things still running in the complied app?
Tracy
On December 6, 2020 11:30:28 AM EST, "MB Software Solutions, LLC" mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
Hi Ajit,
Still fails: https://www.screencast.com/t/WXrKy7vCXu
So strange. This inherited project has always had "spectres" of a sort; things that made absolutely no sense (like this kind of "file not found" stuff).
On 12/6/2020 12:10 AM, Ajit Abraham wrote:
Mike, Try renaming the form to something else (like abc.scx) and then call the renamed form. Also, just verify in the project properties that this file is indeed included. (I know that you will see a icon in front of the file if it is excluded - but still..)
Ajit
On 06/12/2020 06:31, MB Software Solutions, LLC wrote:
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
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Mike,
I have run into this error only once and it happened for a client using an existing utility app which I wrote years ago and has been working ever since. The only difference was she went home when the COVID shutdowns started and began running the application across a VPN connection. I don't normally recommend doing that any way, but because it a conversion process which picks up files and converts them and then writes the output to a local folder and it creates all temp files locally, I didn't have too much concern about it.
However, it turned out she was also connecting to her VPN via her WIFI connection at home and at some point after the application loaded, but before she clicked on a button to start a process, either her WIFI or VPN dropped out for a split second and it returned the Form Not Found message. Shutting down the VFP app and restarting the app solved the problem and everything worked fine the second time. As far as I know if it happens again, she just restarts once her VPN/WIFI signal stabilizes, and it works fine for her.
I know that is not a permanent fix for most applications but it works for this little utility she runs once every two weeks. I don't know if that provides any additional clues or not but I thought I would at least document what we saw earlier this year.
Paul H. Tarver Tarver Program Consultants, Inc.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of MB Software Solutions, LLC Sent: Saturday, December 05, 2020 9:32 PM To: profoxtech@leafe.com Subject: 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