For me the server is the best. I run a gigabit network so a 10 meg compiled app 
runs very fast. If I do an updated compiled app they run it the next time the 
click on the shortcut.

I only update the compiled app when rbase pushes out an update. My compiled app 
just calls the external form file. So I can make changes to the external form 
file while users are on and the next time they open it they get the changes.

Here is my compiled app code to call my external form file.

-- check if during maintenance time then exit
if #time bet '12:00:00 am' and '12:45:00 am' then
   exit
endif

property loadwindow showindicator 'True'
PROPERTY loadwindow TITLE 'Loading - Please Wait ...'
PROPERTY loadwindow progress 25
SET VAR vuserchk =(CVAL('NETUSER'))
SET STATICDB OFF
SET ROWLOCKS ON
SET PAGELOCK ON
SET MESSAGES OFF
REFF lance_menu.rff
EXIT

Dan Goldberg

From: [email protected] [mailto:[email protected]] On Behalf Of 
Dawn Hast
Sent: Tuesday, May 30, 2017 12:46 PM
To: [email protected]
Subject: Re: [RBASE-L] - Including Forms in Compiled app

Dan - that's kind of where I was going with that.  I've always run it on the 
server - but I was thinking that if the forms were local to the PC and it just 
had to retrieve data, then it might be faster in those situations where the 
network speed was less than optimal.  But that introduces the issue of making 
sure the version on the local PC is current, so was thinking ahead of how to 
control that. Though it doesn't sound like the improvement would be enough to 
make a difference.  I might test it out tomorrow if time allows.

On Tue, May 30, 2017 at 3:40 PM Dan Goldberg 
<[email protected]<mailto:[email protected]>> wrote:
That brings up an interesting topic. My compiled app is located in a network 
share on the server and the users have a shortcut to it.

It is better to have the compiled app on the users pc?

Dan Goldberg

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of 
jan johansen
Sent: Tuesday, May 30, 2017 12:21 PM
To: [email protected]<mailto:[email protected]>

Subject: Re: [RBASE-L] - Including Forms in Compiled app

Dawn,

Then you should be able to place this in an ON AFTER START eep in a form.

SET VAR vCurrentVersion TEXT = '2017.04.30.001'
SET VAR vWhatVersionAmI TEXT = NULL
GETPROPERTY APPLICATION FileVersion vWhatVersionAmI

IF vWhatVersionAmI <> .vCurrentVersion THEN
   PAUSE USING .......
   CLOSEWINDOW
   EXIT
   RETURN
ENDIF




Jan
-----Original Message-----
From: Dawn Hast <[email protected]<mailto:[email protected]>>
To: [email protected]<mailto:[email protected]>
Date: Tue, 30 May 2017 19:08:57 +0000
Subject: Re: [RBASE-L] - Including Forms in Compiled app

Thanks Jan,

Yes, I was thinking check the version, inform the user and exit the program.  
Not allowing them to use the old version will force the issue.

On Tue, May 30, 2017 at 2:59 PM jan johansen 
<[email protected]<mailto:[email protected]>> wrote:
Dawn,

Welcome.

1. How much of an improvement (in speed) could one expect by including the 
forms in the compiled application vs just keeping them in the db?  It will 
depend on your network but you should see slight improvement. Forms really 
aren't all that big.

2. Checking current compiled version.
Nice idea. I had it a couple years back but it can't be done.
Basically the compiler is running an instance and it can't be copied over it 
self.
You can check the version and inform the user that there is a newer version but 
not an automatic install.

Jan


-----Original Message-----
From: Dawn Hast <[email protected]<mailto:[email protected]>>
To: [email protected]<mailto:[email protected]>
Date: Tue, 30 May 2017 17:09:49 +0000
Subject: [RBASE-L] - Including Forms in Compiled app

After an extended leave, I'm back having fun with RBase, even if only part 
time!  It's nice to see all the familiar names in the group :-)

I don't have a ton of history using the compiler and have a couple questions.

How much of an improvement (in speed) could one expect by including the forms 
in the compiled application vs just keeping them in the db?

I thought I remembered seeing something about detecting the version of the 
compiled application - but can't find it.  I'm wanting to check the version of 
the exe against the current approved version and force an update if the user is 
using an out of date exe.  I have some old scripts that looked at file 
information that I might dig out, but I thought someone had posted something on 
this recently.....

Thanks!
Dawn Hast

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to