Mike,

Now that I reflect again on this.  Here's a little story.

I was setting up a build machine. Pulls code from Source Control, and builds 
the project.
This build machine was putting the project on the larger D: and running the 
compile there.
A customer with a new laptop that did not have a D: could not run the 
application because it could not find the D:.
The error may have been a file not found error. It has been years. 
The project lives on the C: drive. The EXE when built goes into a different 
tree on the C: drive. I don't have this type of error.
I see all the forms in the project live in the root with the pjx.

Here's another thing that has happened to customers.
The EXE was being run from a network drive. The user walks away from the 
computer for 20 or so minutes. When they return they get an error about a file 
missing. The network connection went to sleep. VFP tried to read a file in the 
EXE and it wasn't available. The error is about a missing form or classlib.

HTH,
Tracy

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Richard Kaye
Sent: Monday, December 07, 2020 9:38 AM
To: profoxt...@leafe.com
Subject: RE: SCX form included in EXE is not found on DO FORM line

Is there a SET PATH in your app config?

--

rk

-----Original Message-----
From: ProfoxTech <profoxtech-boun...@leafe.com> On Behalf Of MB Software 
Solutions, LLC
Sent: Monday, December 7, 2020 9:17 AM
To: profoxt...@leafe.com
Subject: Re: SCX form included in EXE is not found on DO FORM line

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-boun...@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]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/000901d6cca8$c506fd70$4f14f850$@powerchurch.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to