Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path problems
Message
De
09/10/2002 16:10:52
 
 
À
09/10/2002 14:54:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00709433
Message ID:
00709509
Vues:
14
Nancy -

Thanks for your suggestion. Actually my original code used MODI FILE rather than MODI COMM. I switched to MODI COMM when I started to debug and couldn't find MODI FILE in the help system. Did they drop it with the V7 release? Either way I get the same error. I tried substituting your code suggestion IE

IF ! FILE("c:\program files\freemansoftware\tip\fedcodes.txt")
MESSAGEBOX( "Oops! " + "c:\program files\freemansoftware\tip\fedcodes.txt does not exist", 0 )
ELSE
modi file "c:\program files\freemansoftware\tip\fedcodes.txt"
ENDIF

with the same results. The IF statement seems to see the file OK so it moves to the MODI FILE but the MODI FILE returns the error that it is a bad path or filename. Go figure!! I should mention that the "user pc" and the "developer's pc" are the same. In the user's case I'm running the compiled EXE from an installation directory
(c:\program files\freemansoftware\tip) and in the developer's case I'm running via the VFP7 developer's interface. The file reference is absolute and points the the same file in both cases so it shouldn't matter.

Any more ideas?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform