Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid path or file name
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Invalid path or file name
Miscellaneous
Thread ID:
00727907
Message ID:
00727907
Views:
45
Hi,

I'm still plugging away at the VFP8 beta to see if I can get my app up and running. I've posted before about this same subject, but I've done some digging and so have a bit more information (I'm always guilty of not doing this, and it's not really fair on other users!)

I've got a project which contains code like

SET PROC TO programname
DO programname

(I only use quotes in the following case)

DO "program name.prg"

And on running my app I get the error

Invalid path or file name

Now I then typed the fullpath in the command window to execute the program, skiped the line of code in the debugger, and guess what, it works...

I've compared my paths (default/search paths) to my VFP6 project and they are identical. I don't use search paths in my VFP6 project. So I'm wondering if the behavior of VFP8 beta is different in this respect. I have a nasty feeling it may be down to configuration of VFP8 to create the same type of environment, but it has proved to be quite puzzling. Does VFP8 handle program names differently in code in VFP8, or have I overlooked something that maybe my lack of experience may have caused?

Sorry to repeat any previous threads, but with more information, I guess it can be of benefit to others when adding a little more specific information. Any feedback appreciated as I'm desperate to test the new features of VFP8 in my existing application!!
Cursing is the subclass of drunken working... Oscar Wilde (abridged)
Next
Reply
Map
View

Click here to load this message in the networking platform