Novell Home

Formativ Applet: Run Program via Shell Method

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

This applet demonstrates the Windows Shell code.

Vitals

Product Categories:
  • GroupWise
  • Functional Categories:
  • Applets
  • Formativ
  • Workgroup
  • Posted:1 May 2002
    File Size:308KB
    License:Free
    Download:/coolsolutions/tools/downloads/run_program_via_shell_method.exe
    Publisher: Advansys

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    This applet demonstrates the Windows Shell code. You can change the run method parameter (WAIT_PRGM_CLOSE) so that:

    a) the applet waits until the program finishes before continuing (WAIT_PRGM_CLOSE = TRUE), or

    b) the applet continues directly after starting the program (DEFAULT) (WAIT_PRGM_CLOSE = FALSE).

    This applet will execute notepad.exe (if exists in your Windows folder). See below the run method details.

    The Run() method of the Shell object takes three parameters:

    Parameter 1: is the command line to run any program.

    Parameter 2: is an integer, which sets the window type for that program.

    Here, we use the value 1, which displays the program's window and gives it the focus. (The value 6 will minimize the window without giving it the focus.)

    Parameter 3: can be True or False. If True, the applet will wait until the program is closed or done before continuing to the next line (set the WAIT_PRGM_CLOSE constant).

    INTEGRATIONS: GroupWise Main Toolbar.

    *The installation file contains one or more Formativ applets, a brief help text file and any data required by the solution.

    Note: To run the free applets available on this page, you will need to install one of the Formativ products below:

    • Runtime - For GroupWise users. Formativ Runtime is a low cost engine for running an unlimited number of Formativ solutions for GroupWise.


    • Developer - For GroupWise developers. Formativ Developer enables rapid GroupWise enhancement, customization and creation of enterprise solutions. Use Developer to run, customize and extend the free solutions available from Formativ Applet Central.

    Visit the Formativ Applet Central site for more information.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell