Paradox Community

Items in pnews.paradox-programming

Subject:Re: 2 Instances Of Paradox
Date:Sun, 14 Jan 2018 16:27:31 +1300
From:Bob Eccles <bobeccles1@gmail.com>
Newsgroups:pnews.paradox-programming
On 14/01/2018 3:19 PM, Tom Krieg wrote:
> You can share data via tables or the registry between the two instances
> but you can't share global variables in libraries because the libraries
> are only "global" within each instance. If you're talking about having
> one instance send an event to another instance, you can't do that (not
> that I know of). I've overcome this limitation by having a timer in my
> startup form that checks a table every, say, 5 seconds, and picks up
> instructions from the table to perform certain tasks. The instructions
> are written by Paradox instances when something needs to be started or
> done in another instance.
>
> Peter wrote:
>> I have two instances of Paradox, ie, they have different private
>> directories.
>>
>> Is it possible for one instance to open a form and/or send commands to
>> or otherwise communicate with the other instance?
>>
>> Thank you for any help.
>>
>>
>> Peter

Hi Peter,

Ah, that presents a different problem. As far as I know, the only way 
you could do that would be to send your info to a table that is also 
open (or in an open form) in ‘Instance #1’, and then have maybe a timer 
that looks at the table every-so-often and initiates the ‘locate’ 
function, when data in the table is seen to have changed.

It looks like Tom Krieg’s response covers this.

All the best with it.

Regards
Bob Eccles


Copyright © 2004 thedbcommunity.com