Bob,
The RInstanceCount.RBL Plugin is part of the R:BASE Plugin Power Pack.
http://www.rbase.com/products/pluginpowerpack/
John
At 02:47 PM 4/29/2010, you wrote:
Sounds like what I need. I will check into it.
Thanks,
-Bob
----- Original Message -----
From: "Emmitt Dove" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, April 29, 2010 11:51:48 AM GMT -06:00 US/Canada Central
Subject: [RBASE-L] - RE: Determine session count of compiled Rbase application
Bob,
Look at RInstanceCount.RBL. Of course, it will only execute once
R:BASE is running, but then you can EXIT if more than one session has started.
Emmitt Dove
Manager, Converting Applications Development
Evergreen Packaging, Inc.
[email protected]
(203) 214-5683 m
(203) 643-8022 o
(203) 643-8086 f
[email protected]
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, April 29, 2010 11:35
To: RBASE-L Mailing List
Subject: [RBASE-L] - Determine session count of compiled Rbase application
This may have been discussed before, so my apologies if I missed it.
I have several users that run on Terminal server via touch screen tablet
thin clients. When they start up a compiled Rbase app, they double tap the
touch screen on the app icon. Touch screens are not always the best
input for double tapping and often, they do not get the program started the
first try. (These are portable tablets mounted on fork lifts and do
not have mouse,
keyboards nor stylus. Totally touch screen as drivers cannot be
fooling around
with mice and stylus)
As impatient users often are, if they do not see something show immediately,
they start double, triple, quadruple tapping the screen. Then they wind up
with 4-5 sessions running. (Yes, I have a SHOW LOADING dialog
window, but they
often do not wait for that to show)
So I want to have a process in my startup routine to check to see if any
existing sessions of the compiled app is running. I.E. if the app is named
"CompiledApp.exe" how can I check from within Rbase if that exe is already
running? If it is, I will have the startup routine display a
message as such and
then shut down the second session. I guess I need to check the number of
sessions of "CompiledApp.exe". If only 1 is found then all is OK,
if the count
is 2 then shut down the session.
Thanks,
-Bob