Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path problems
Message
De
09/10/2002 14:54:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
09/10/2002 14:14:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00709433
Message ID:
00709457
Vues:
13
>The following line works fine on my development PC but causes an error when the application is installed on a users PC.
>
>modi comm "c:\program files\freemansoftware\tip\fedcodes.txt"
>
>The error is an invalid path or filename. I can't for the life of me figure out what's wrong.

Wouldn't MODI FILE be more appropriate here? I don't even know if MODI COMM works in runtime only installations. That said, have you verified that the path exists? For example,
IF !FILE("c:\program files\freemansoftware\tip\fedcodes.txt")
  MESSAGEBOX( "Oops! " + "c:\program files\freemansoftware\tip\fedcodes.txt does not exist", 0 )
ELSE
  modi comm "c:\program files\freemansoftware\tip\fedcodes.txt"
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform