Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path problems
Message
From
09/10/2002 14:54:04
 
 
To
09/10/2002 14:14:29
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00709433
Message ID:
00709457
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform