Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Client applications > Deploy client applications > Run an ActiveX client application


Start an ActiveX application and configuring non-service programs

To run an ActiveX program initiated from an icon or command line (a non-service program) that is to use the ActiveX to the EJB bridge, perform some initial configuration to set appropriate environment variables and to enable the ActiveX to EJB bridge to find its XJB.JAR file and the Java run-time environment. This uses a batch file to set up the environment within which the ActiveX program can run. To perform the required configuration, complete the following steps:


Procedure

  1. Edit the setupCmdLineXJB.bat file to specify appropriate values for the environment variables required by the ActiveX to EJB bridge. For more information about these environment variables, see ActiveX to EJB bridge, environment and configuration. For more information about creating a JVM for an ActiveX program, see ActiveX to EJB bridge, initializing the Java virtual machine (JVM). After the ActiveX program has created an XJB.JClassFactory object and called the XJBInit() method, the JVM is initialized and ready for use.

  2. Start the ActiveX client application by using one of the following methods:

    • Use the launchClientXJB.bat file to start the application. For example:
      launchClientXJB MyApplication.exe parm1 parm2
      
      or
      launchClientXJB MyApplication.vbp
      

    • Use the setupCmdLineXJB.bat file to create an environment in which to run the application, then start the application from within that environment.


Start an ActiveX application and configuring service programs
Run an ActiveX client application


Related


setupCmdLineXJB.bat, launchClientXJB.bat and other ActiveX batch files

+

Search Tips   |   Advanced Search