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


> >
> > Hi Borislav,
> >
> > Thank you so much for your quick response.
> > I did as you suggested. My configuration file (Configscreen.fpw) is included in the project as a Text file. It contains the following commands:
> >
> >
> > Date=British
> > DELETED=ON
> > EXCLUSIVE= OFF
> > Hours = 24
> > Century = ON
> > SCREEN=OFF
> > 

> >
> > I rebuilt the project, however, I still get the flash when the application launches. My application is a simple prg file with the following code.
> >
> >
> > CLEAR ALL
> > CLOSE ALL
> > SET TALK ON
> > SET SAFE OFF
> > SET EXCLUSIVE OFF
> > SET DELETED ON
> > SET DATE TO ANSI
> > SET CENTURY ON
> > SET HOURS TO 24
> > SET NEAR OFF
> > 
> > SET DEFAULT TO ....
> > SET PATH TO ....
> > 
> > _VFP.Visible = .F.
> > _Screen.Visible = .F.
> > 
> > LOCAL  loSeconds
> > 
> > 
> > USE  Data\MySQLQueueLog 
> > GO BOTTOM 
> > loSeconds = VAL(SYS(2)) - (HOUR(created)*3600+  MINUTE(created)*60+ SEC(created))
> > USE IN MySQLQueueLog 
> > 
> > IF loSeconds > 600 && seconds 
> > 	* Some code 
> > ENDIF 
> > quit
> > 
> > 

> >
> > I tried removing the _VFP.Visible and _Screen.Visible commands, but that also did not help. I am missing something. Any suggestion?
> >
> > Thank you for your help.
> >
> > - Ravi Taxali
> > Visual FoxPro Made Simple -- An excellent book for beginners as well as experienced programmers
>
>
> No, NOT Configscreen.fpw it SHOULD be named Config.fpw.
> VFP looks for Config.fpw by default.
>
> -----------------
> 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.

Hi Borislav,

It works!
Thank you so much for your help.

- Ravi Taxali
Visual FoxPro Made Simple -- An excellent book for beginners as well as experienced programmers



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