Hi
I have an a bookings application written in VFP 6 under which I want to run a procedure that will be activated every hour and will automatically create and send emails.
I would like this procedure to be completely transparent to the user.
I have created a main prog but as my email generation is in a class I have to call a form. This is running ok using _screen.windowstate and running the form minimised. I have put the code in activate which at the end activates a timer to release the form. I have clear events in the destroy.
However it still causes a flash on the screen when it starts and stops and so having done a search in Tek-Tips I tried creating a CONFIG file with SCREEN=OFF.
Unfortunately although there is no flash the program hangs.
It does the same if I set _screen.visible=.f.
This works from the command line but again the .exe hangs.
Am I missing some simple step?
Any help gratefully received.
Malcolm.
I have an a bookings application written in VFP 6 under which I want to run a procedure that will be activated every hour and will automatically create and send emails.
I would like this procedure to be completely transparent to the user.
I have created a main prog but as my email generation is in a class I have to call a form. This is running ok using _screen.windowstate and running the form minimised. I have put the code in activate which at the end activates a timer to release the form. I have clear events in the destroy.
However it still causes a flash on the screen when it starts and stops and so having done a search in Tek-Tips I tried creating a CONFIG file with SCREEN=OFF.
Unfortunately although there is no flash the program hangs.
It does the same if I set _screen.visible=.f.
This works from the command line but again the .exe hangs.
Am I missing some simple step?
Any help gratefully received.
Malcolm.