Hello everyone,
I have been getting a steady one or two calls a month for a year about our
VFP 9 program not starting and getting the following dialog:
----------------------------------------
Program Error
----------------------------------------
Invalid path or file name.
----------------------------------------
Cancel Ignore Help
----------------------------------------
I have placed in the CONFIG.FPW the following
COVERAGE=STARTUPCOVERAGE.TXT
When I start the program with an invalid PATH environment variable, the
coverage file is created. However it is 0 bytes.
I created a test project.
It contains a MAIN.PRG
ON SHUTDOWN clear events
READ EVENTS
ON SHUTDOWN
It also contains a CONFIG.FPW
title=Bad Path Testing
resource=off
When this project starts without the bad PATH environment variable it opens
and closes without problems.
I start a CMD prompt and run the following line to break the PATH
environment variable
PATH=%PATH%:c:\windows
(yes, the : separating the path instead of a semicolon is a common problem
I've been seeing)
Start the EXE from this now corrupted environment CMD window and the error
will happen.
This wasn't a problem with VFP 9.00.0000.3504
I do update the manifest in my VFP 9.00.0000.3504, which does start causing
the problem.
Does anyone have some thoughts or ideas as to what might be the problem?
Thank you,
Tracy
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** 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.