Monday, January 13, 2003
From The Edge: Using New LAUNCH Command in R:BASE 7.0 for Windows
Section: Commands
Chapter: Running R:BASE Your Way!
Platform: R:BASE 7.0 for Windows
Build: 1.863xRT03 (Update 29 and Higher ...)
Use the LAUNCH command to invoke/run any windows associated
files along with required programs.
This command makes it very easy to launch another application
or process from within your program. LAUNCH command is
supported at the R> prompt, command file and Entry/Exit
Procedures (EEPs).
You can also access LAUNCH command from the Tools option of
Menu Bar in R:BASE 7.0 for Windows.
Syntax: LAUNCH FileName.ext|Parameter(s)|W
Where:
FileName.Ext The name of the file to be executed. The file
extension must be associated with an installed program
within the windows system registry.
Using the Windows Explorer or My Computer, if you double-
click the any file with PDF extension, you will notice that
the file will open using the Adobe Acrobat Reader. When Adobe
Acrobat Reader was installed on your PC, it became the default
application for all files having the .pdf extension. Same
scenario applies to all files with .doc extension for MS Word,
.wpd for Corel WordPerfect, .xls for MS Excel, .rba for R:BASE
7.0 application file and so on ...
On other hand, if you double-click a .rba file whose extension
has not been associated with R:BASE 7.0 for Windows rbg7.exe,
an Open With dialog box appears asking you what program you
would like to use to open the file you double-clicked. After
choosing R:BASE 7.0 for Windows (rbg7.exe), if you check the
Always use this program to open these files check box, rbg7
will be registered as the default application for all files
having the same extension as the one you double-clicked. For
example, if you check this check box when you run
Test Application.rba, rbg7.exe becomes the default application
for all files having the .rba extension.
| The pipe symbol to separate FileName.Ext from Parameter(s).
Parameter(s) To specify additional parameters specific to the
program being run.
| The pipe symbol to separate Parameter(s) from W (Wait Until
Finished) option.
W Use W (Wait Until Finished) option if you want the main
application to sleep while the launched process is running.
For complete details, examples and screen shots:
From The Edge: http://www.razzak.com/fte (Commands)
(Powered by R:Tango)
Enjoy and make sure to have fun!
Very Best Regards,
Razzak.

