Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report not found in Main.EXE
Message
From
04/09/2013 02:27:49
 
 
To
29/08/2013 14:35:50
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01581677
Message ID:
01582032
Views:
68
>An application deployed at customer's site throws an "Invalid Path or Filename" error when attempting to preview or print a report. Except that report was compiled into the EXE. Other customers are not reporting the same error. The line of code is:
>
>REPORT FORM (lc_reportname) to printer &lc_printersel. preview noconsole ; && GreyHawk - 20080701 - add printer selection for preview
> WINDOW (Lo_RepForm.NAME)
>
>Where lc_printersel contains 'prompt' (or empty, depending on customer settings).
>
>Chris.

Have you checked where the program is being installed for those customers who have reported the problem? Is the program installed on a local or network drive? Does the user that is running the program have permission to read the particular file? I'd seen similar sort of problem when user was using Novell Netware server and they'd set the "copy inhibit" attribute on the EXE file.

I'd run into peculiar problems once before where the default "everyone" identity was removed from the security profile of the share -- this resulted in peculiar behavior where program would act as various files didn't exist on the shared folder. Restoring the identity to the share fixed most of the weirdness.

Do you have a situation where the REPORT FORM command is being executed from a program file that is external to the EXE? (e.g. you have a MAIN.EXE that calls a SUB1.APP, and the REPORT FORM command is executed within the context of the SUB1.APP program).
Previous
Reply
Map
View

Click here to load this message in the networking platform