Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code isn't finding file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01543550
Message ID:
01543559
Views:
69
It sounds like access rights issue. Try to run your application as Administrator to rule it out (or in).

>I am using the following to locate the lotus notes executable "notes.exe".
>
>
IF FILE('c:\notes\notes.exe');
>OR FILE('c:\lotus\notes\notes.exe');
>OR FILE('c:\program files\lotus\notes\notes.exe');
>OR FILE('c:\program files\ibm\lotus\notes\notes.exe');
>OR FILE('c:\program files\ibm\lotus\notes\notes.exe');
>
>The code has worked perfectly until we deployed some Win7 PCs. So I added the location of the exe on the Win7 boxes:
>
>
OR FILE('c:\Program Files (x86)\IBM\Lotus\Notes\notes.exe');
>
>and that failed. After some reading, I thought perhaps the parens were a problem so I also added the short version:
>
>
OR FILE('c:\Progra~2\IBM\Lotus\Notes\notes.exe')
>
>But I still keep getting the ELSE error message that follows this code. I know that the exe is in the location listed. Any ideas?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform