Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Ravi Taxali
  Where is Ravi Taxali?
 Markham
 Canada
 Ravi Taxali
 Tags
Subject: RE: Running Exe Thru Windows Task Scheduler
Thread ID: 230895 Message ID: 230898 # Views: 47 # Ratings: 1
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Tuesday, June 09, 2009 7:28:53 PM         
   


> I need to run a simple VFP EXE that checks some tables and sends an Email, if required every half an hour through Windows Task Scheduler. (For some reason, I can't have the application running all the time and perform the task through a VFP Timer.) I don't want to display the application on the screen when it launches. I used the following commands in the application.
>
>
> _VFP.Visible = .F.
> _Screen.Visible = .F.
> 

>
> Though the application does not show on the screen, I see a flash on the screen before it minimises on the Taskbar. Is it possible to remove the flash when the application launches?
>
>
> - Ravi Taxali
> Visual FoxPro Made Simple -- An excellent book for beginners as well as experienced programmers

Setting Visible property in the application is too late :-)
Make an Config.FPW file and put this line in it:
SCREEN=OFF
Built this file IN the EXE.

-----------------
Borislav Borissov

Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.



COMPLETE THREAD
Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/9/2009 7:17:11 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Yousfi Benameur @ 6/9/2009 7:23:08 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/10/2009 5:40:37 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Borislav Borissov @ 6/9/2009 7:28:53 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/9/2009 9:44:28 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Borislav Borissov @ 6/9/2009 9:49:16 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/9/2009 10:29:09 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Borislav Borissov @ 6/9/2009 10:34:21 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/9/2009 10:45:02 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Borislav Borissov @ 6/9/2009 10:49:19 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/10/2009 5:35:39 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Stefan Wuebbe @ 6/9/2009 11:32:30 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/10/2009 5:37:53 PM
RE: Running Exe Thru Windows Task Scheduler Posted by tushar @ 6/9/2009 10:36:27 PM
RE: Running Exe Thru Windows Task Scheduler Posted by Ravi Taxali @ 6/9/2009 10:49:48 PM