This is rather vague. What exactly are you doing?
The simple answer is: You need better error trapping. Add an exception handler around your code and log or display the detailed error information either in FoxPro or .NET.
+++ Rick ---
>I have a vfp program which uses about 30 files - when run it brings up an error index does not match file
>
>When I connect into this machine remotely via Logmein and run the program I do not get the error and the program runs ok
>
>When I run this program on another machine at the same site I do not get the error and the program runs ok
>
>How can I find out which file the system is referring to - I would guess its referring to a file on the c: drive hence it runs on other machines but why is it OK when I run it remotely?
>
>Has anyone heard of a fault like this before?