Phillip,

When you launch R:BASE, is it from a desktop shortcut? Or, do you launch R:BASE by double clicking on a RB1-RB4 file that uses a file association for R:BASE 7.6 for Windows?

If you are using a desktop shortcut, do you have a RBASE.DAT file in the "Start in" directory? If so, review the commands in this file. R:BASE will run a RBASE.DAT file if the program is launched in a directory where the file exists.

When R:BASE is initially started and before the RBA file is launched, are you already connected to the database? You can tell by looking at the main R:BASE program caption. For example, if you were connected to the RRBYW14 sample database at the Database Explorer window, it would read:

  R:BASE 7.6 [Connected RRBYW14] - [R:BASE Database Explorer]

or at the R>:

  R:BASE 7.6 [Connected RRBYW14] - [R> Prompt]

Regardless, you are able to bypass showing the R:BASE development environment by including the APP.RBA file name in the desktop shortcut "Target:". Place the file name at the end like this:

  C:\RBTI\RBG76\RBG76.EXE APP.RBA

If you want the ability to go to the R> Prompt from the R:BASE Application file, you could add another menu action to the RBA file containing the following:

LAUNCH DBNAME.RB1
CLOSEWINDOW
RETURN

This will close the application and immediately launch a different instance of R:BASE. This will require you to have the .RB1 file extension associated with the R:BASE 7.6 program, AND have the "R> Prompt" specified in your R:BASE "Startup Options...". For the list of R:BASE startup options, choose "Settings" > "Startup Options..." from the Main Menu Bar.

If this still doesn't work for how you want R:BASE to launch, you can even make a copy of your R:BASE desktop shortcut icon to have one shortcut launch the application and the other go directly to the R> Prompt.

John


At 09:18 AM 3/21/2008, Phillip wrote:
Thanks for the tip but it didn't work. I am starting Rbase first than launching the app. Is there
a way I can go to the R prompt after I exit my app?

-------------- Original message from John Minyo II <[EMAIL PROTECTED]>: --------------


> At 12:23 PM 3/20/2008, Phillip wrote:
> >We recently got Rbase 7.6 and I began to use the following command
> >to start my app:
> > LAUNCH APP.RBA||W
> >This worked as documented for awhile, i.e., the application started
> >and the Rbase window went to sleep until I closed the
> >application. Now, for some unknown reason, the above command opens
> >its own window and the original Rbase window stays open
> >also. Anyone know why this may be happening?
>
> Phillip,
>
> A recent enhancement in the R:BASE Application Designer
> was a setting for "Connect Database on Startup".
>
> This may be causing the extra window if you already have
> R:BASE launched and con nected before you launch the RBA
> file.
>
> John
>
>

Reply via email to