Using Paradox Timers 
Author Message
 Using Paradox Timers

I have created a speedbar which allows my users to call all of my paradox8
forms using pushbuttons.  Works great.  I 'wait' for the called form to close
before continuing execution in my speedbar (i.e. I don't allow multiple called
forms open at once).

Now I want to some automation in my programs.  I've programmed a timer event
which triggers once a minute.  It automatically opens some forms which will run
in the background or after hours.

Question:  what if my user doesn't return to the calling speedbar frequently
but sits at the called form?  Do I lose those timer triggered events.  How do
other programmers use Paradox to run forms automatically.

I've thought of having a completely separate instance of Paradox running (one
with a user interface and buttons, and the other to run automatic events).  I
always get the BDE Busy error if I try to start Paradox twice.  

Thanks



Fri, 06 Sep 2002 03:00:00 GMT
 Using Paradox Timers

Wristdoc SAY :

Quote:
> I always get the BDE Busy error if I try to start Paradox twice.

Yes it is normal way, because you don't separate PRIV dir !

If you want to have 2 or more instance of your app (or other ones)
you have to point every app with a different PRIV dir.
To make it possible, add this key to the line command of the icon :
C:\Programs\PDXWIN32.EXE -p c:\Temp\Pdox
                         ^^^^^^^^^^^^^^^

Where -p set the new priv dir with c:\Temp\Pdox

For multi instance do :
C:\Programs\PDXWIN32.EXE -p c:\Temp\Pdox\App1
C:\Programs\PDXWIN32.EXE -p c:\Temp\Pdox\App2
C:\Programs\PDXWIN32.EXE -p c:\Temp\Pdox\App3
and so on...

Don't forget to define App1, App2, App3 as directories !!!

Frederic BROUARD - AMARIS SA Ile de France
Paradox - Delphi - SGBDR / RDBMS - SQL
http://perso.club-internet.fr/brouardf

Wristdoc a crit :

Quote:

> I have created a speedbar which allows my users to call all of my paradox8
> forms using pushbuttons.  Works great.  I 'wait' for the called form to close
> before continuing execution in my speedbar (i.e. I don't allow multiple called
> forms open at once).

> Now I want to some automation in my programs.  I've programmed a timer event
> which triggers once a minute.  It automatically opens some forms which will run
> in the background or after hours.

> Question:  what if my user doesn't return to the calling speedbar frequently
> but sits at the called form?  Do I lose those timer triggered events.  How do
> other programmers use Paradox to run forms automatically.

> I've thought of having a completely separate instance of Paradox running (one
> with a user interface and buttons, and the other to run automatic events).  I
> always get the BDE Busy error if I try to start Paradox twice.

> Thanks



Sat, 07 Sep 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Hey old timers-Paradox 3 question

2. using timer to shut connection to db.

3. Is using a timer to refresh wrong ?

4. Can timer be used to alter text color?

5. using timer to detect no user activity in PFW 5.0

6. Anyone using TCP/IP (telnet) comms OR a timer type object

7. vfp:Using a Timer to check for held down button

8. Using Paradox 7 to Develop for Paradox 5

9. Problem using Field Expert using Paradox 7.0

10. Win 95 + Paradox = GP 0000 AT PARADOX:28:1323 -- Leaving Paradox

11. Paradox SE, Paradox 3/3.5 Paradox Engine

12. Timer within SQL Server...


 
Powered by phpBB® Forum Software