Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report not found in Main.EXE
Message
De
04/09/2013 02:27:49
 
 
À
29/08/2013 14:35:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01581677
Message ID:
01582032
Vues:
67
>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).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform