>Want to have a VFP program run so that there is no on-screen display of any kind.
>
>I have created an EXE that does not display anything to the VFP screen, but the VFP screen itself gets displayed while the program is running during the inkey(5) period of time. Program shown below:
>
>set console off
>set talk off
>=inkey(5)
>quit
>
>But I do not know what settings to included so it can be run in the background to process data with no screen presence whatsoever -- is this possible, and if so, how.
You can include SCREEN=OFF in a CONFIG.FPW that you bind into your .EXE.
As for "no screen presence" there are a couple of options:
1. Truly no screen presence i.e. run as a "service". This will probably be easier if you are running under the NT family rather than W98/Me. You can search various threads here for how to do this. Other resources:
Make Visual FoxPro run as a service on Windows NT FAQ #7636
Re: Creating a service Thread #
952970 Message #
952978Re: Running .exe as a service Thread #
639852 Message #
639994Re: Launch as a service Thread #
828642 Message #
8288612. Another option is to make your app run with an icon in the system tray, so the user can more easily bring up status etc. if necessary. IIRC there is a class in the FFC that can do this; otherwise take a look at
bbSysTray -icons on 9x/NT/2k/XP system tray File #
9318
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up