OK, I reread the tip and I see what you are saying.  I read something into
it that wasn't there.  Wishful thinking on my part!
John
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dennis
McGrath
Sent: Monday, December 29, 2008 10:44 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Tip of the Day #2: Is the Application Compiledor
Not?

John,

I believe this article says exactly the opposite.

The point of this article is to show how to discover if the app is compiled
or not, and then hide any buttons on your forms which would try to access
the data explorer.

Dennis McGrath

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John Engwer
Sent: Monday, December 29, 2008 9:30 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Tip of the Day #2: Is the Application Compiled or
Not?

If I understand this new feature correctly, I should be able to access R>
and RBASE Explorer from my compiled application.  Unfortunately I cannot get
it work.  I took the V8 SAT class last year but I do not have the example in
RBY15 to look at.
Can someone give me the process for making this feature to work.
Thanks
John 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak
Memon
Sent: Friday, December 19, 2008 1:30 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Tip of the Day #2: Is the Application Compiled or Not?

Friday, December 19, 2008

Tip of the Day #2: Is the Application Compiled or Not?

Section: Additional PROPERTY and GETPROPERTY Commands

Supported Versions:

. R:BASE 7.6 for Windows (Build: 7.6.5.31229 or higher)
. R:BASE C/S:I 7.6 for Windows (Build: 7.6.5.31229 or higher)
. R:BASE Turbo V-8 for Windows (Build: 8.0.19.31229 or higher)
. R:BASE eXtreme (v9) for Windows (Build: 9.0.1.11229 or higher)

When designing and distributing R:Compiled applications, your main
menu options may include a line item to access Database Explorer
or the R> prompt (as demonstrated in RRBYW15).

Accessing that particular option would be fine if the end user
is using the full version of R:BASE. However, that option would
go nowhere if the end user is using the R:Compiled version of
the application.

Did you know that you can assign a unique Component ID to a
particular item or button on your application main menu and then
use the following GETPROPERTY and PROPERTY command to manage
access to that option?

-- Start
-- On After Start EEP
-- Know if the running application is compiled or not?

    CLEAR VARIABLE vCompiled
    SET VAR vCompiled TEXT = NULL
    GETPROPERTY APPLICATION ISCOMPILED vCompiled
    IF vCompiled = 'YES' THEN
       PROPERTY AccessDatabaseExplorer VISIBLE 'FALSE'
    ENDIF
    CLEAR VARIABLE vCompiled
    RETURN
-- End

Have fun!

Very Best R:egards,

Razzak.


Reply via email to