Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File not found error when file is present
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
File not found error when file is present
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 5.x
Miscellaneous
Thread ID:
00978830
Message ID:
00978830
Views:
53
First the background:

I have a main program that uses dynamic linking to classes contained in executable files (plug-ins) contained in subfolders. So that my folder tree looks like this:

Main Folder
Plugins

The main program has no problem linking to these plugins. I used the NewObject() method to create visual class (in this case it's just a container.) No problems.

Now, I'm trying to do some automation using Windows Scheduler. I use SET PROCEDURE TO "..\Main.exe" in the plugin to get to some common Procedures contained in that. This is the line the error occurs on. I have a second machine that has Windows XP SP2 set up on it. Since the machine is not logged in, there are no drive mappings and I have to use UNCs to run the application. Now when I run the plugin for automation, I get a "File not found" error. If I click ok, the plugin will continue as planned, except for this error. Here's the catch, I don't get the error on my development PC at all. The only difference between the two is I have foxpro and VS.Net 2002 installed on the dev PC.

What I've tried:
TRY...ENDTRY (FAILED) Message still comes up.
ON ERROR... (FAILED) Messsage still comes up.

My Question:
Why am I getting this on one machine and not the other? Is there something I'm missing?

Thanks

Richard
State of Florida, DCF
Next
Reply
Map
View

Click here to load this message in the networking platform