Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP.exe running without logged in user
Message
General information
Forum:
Windows
Category:
Administration & Security
Miscellaneous
Thread ID:
00400166
Message ID:
00401231
Views:
16
>>I want to run a VFP.exe from the NT Scheduler when there is no-one logged in. Is this possible? If no one is logged in, then how can there be mapped network drives? Do I have to make the vfp.exe run as an NT Service?
>
>When you use AT, there is no active user. It runs as the SYSTEM user. I recommend using UNC designations if you need to access remote resources.
>
>If you need to map drives, I also recommend Ed Rauh's CLSHEAP and NETRESOURCE classes in the Files section. You can map a drive and specifiy the account information to access it with.
>
>HTH.

Larry,

I've noticed that there seems to be a problem because it requires the use of a session to show the screen. Let me give you a little background to clarify...
We have a download that takes text data and brings it into our VFP system. Currently the download is fired by manual intervention and this is what we were trying to get rid of. So what I tried to due was use a shell program that would bring up the screen and fire it automatically using the click event of the already existing button.
So can I do this without a logged in user? I've tried using the /interactive parameter but still don't seem to have much luck.

Maybe I need to redesign so that a screen isn't necessary by bringin all the code into classes that can run with or without the screen? If this is the answer, then do I have to do something to suppress the main Visual Foxpro window as well?

As for the UNC's I agree, but isn't that still going to require authorization to get to the resource on another machine? I.E, after I loginn I can access the resource on another server because my machine sends the login/pass from the local environment to authenticate to the other server... so if no one is logged in will it work? Or is that what you mean by AT uses the SYSTEM user which should have rights to the other server?

Thanks for the help.
Shawn Burke
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform