Previous Page | Next Page

Creating Interactive Output for ActiveX

Installing the SAS/GRAPH ActiveX Control

The SAS/GRAPH ActiveX Control is installed silently when you install SAS/GRAPH. The SAS/GRAPH ActiveX Control can be installed manually, as described in Manually Installing the SAS/GRAPH ActiveX Control. You can configure your presentation to prompt your Web users to go through the installation process, as described in Configuring Your Program to Prompt Users to Install the SAS/GRAPH ActiveX Control and Configuring an Existing ActiveX Presentation to Prompt Users to Install the SAS/GRAPH ActiveX Control.


Manually Installing the SAS/GRAPH ActiveX Control

Follow these steps to manually install the SAS/GRAPH ActiveX Control.

  1. Open the SAS Downloads page in your Web browser:

    http://www.sas.com/apps/demosdownloads/setupintro.jsp

  2. If you are not already logged in, type in your user name and password, and then click the LOG IN button.

    Note:   You must log in to download files. If you do not have an account, click the Sign up now link to create an account.  [cautionend]

  3. Click the Request Download button for your Windows platform. This opens the License Agreement page.

  4. On the License Agreement page, read the license agreement, and the click the I Accept button. This opens the Downloads page.

    Note:   If you do not want to accept the license agreement, click the Do Not Accept button to cancel the download.  [cautionend]

  5. On the Downloads page, click the Download button, and then select a location on your computer for the file. This downloads a ZIP file to your computer.

  6. Extract the ZIP file that you downloaded. This extracts file sasgraph.exe.

  7. Run the installation program (sasgraph.exe) and follow the installation prompts. The installation program installs the SAS/GRAPH ActiveX Control files in the following folder:

    C:\Program Files\SAS\SharedFiles\Graph\Vx

    Where x is the version number. Installation requires eight megabytes of disk space.

Note:   For 64-bit enabled Windows, the SAS/GRAPH ActiveX Control works only in the 32-bit version of Internet Explorer.   [cautionend]


Configuring Your Program to Prompt Users to Install the SAS/GRAPH ActiveX Control

When you create a Web presentation using the SAS/GRAPH ACTIVEX device, by default, the resulting presentation is configured to prompt users to install the SAS/GRAPH ActiveX Control if it is not already installed. The SAS/GRAPH software configures the presentation by setting the CODEBASE= option in the HTML file as shown in the following example:

CODEBASE="http://www2.sas.com/codebase/graph/v92/sasgraph.exe#version=9,2"

No files are installed without the user's permission. Users can refuse installation by refusing the licensing agreement at the beginning of the installation process. Also note that the installation program does not run if the control has already been installed.

To be able to access the installation program, Web users must be able to access its storage location. You might need to copy the installation program to another location to ensure availability.

You can use the CODEBASE= option with the ODS HTML statement to configure the HTML output file to reference the installation program when the HTML file is opened. For example:

ods html body="myGraph.html"
   codebase="http://www.ourco.com/sasweb/graph/sasgraph.exe#version=9,2";

If the installation program is not stored on a Web server, then you can use a file specification as the value of the CODEBASE attribute. For example:

ods html body="myGraph.html"
   codebase="/grsrc/sasgraph.exe#version=9,2";


Configuring an Existing ActiveX Presentation to Prompt Users to Install the SAS/GRAPH ActiveX Control

You can edit an existing presentation that was generated with the ACTIVEX device so that the presentation prompts your users to install the SAS/GRAPH ActiveX Control if it is not already installed.

Follow these steps to add the installation capability to your ACTIVEX presentation:

  1. In a text editor, open the initial HTML file of your Web presentation.

  2. In the OBJECT tag, insert the CODEBASE= attribute. The attribute references the location of the installation program. The following CODEBASE value references a public directory:

    CODEBASE="file://grsrc/sasgraph.exe"

    If the installation program is stored on a Web server, use an HTTP reference. For example:

    CODEBASE="http://www.ourco.com/sasweb/graph/sasgraph.exe#version=9,2"

  3. Save the HTML file and close the editor.

With the file thus modified, displaying the HTML file gives users who need it the option of installing the control in the default location on their local computers.

Note:   If you want to install the control in a non-default location, you must install the control manually, as described in Manually Installing the SAS/GRAPH ActiveX Control.  [cautionend]


Uninstalling the SAS/GRAPH ActiveX Control

If the SAS/GRAPH ActiveX Control was installed with the SAS/ GRAPH software, you cannot manually uninstall the SAS/GRAPH ActiveX Control separately from the SAS/GRAPH software. In this case, to uninstall the SAS/GRAPH ActiveX Control, you must uninstall the SAS/GRAPH software. If you manually installed the SAS/GRAPH ActiveX Control, you can manually uninstall it.

To manually uninstall the SAS/GRAPH ActiveX Control on Windows XP:

  1. Open the Control Panel window by selecting Start [arrow] Settings [arrow] Control Panel.

  2. Double-click Add or Remove Programs.

  3. Select SAS Graph ActiveX Control.

  4. Click Remove.

To manually uninstall the SAS/GRAPH ActiveX Control on Windows Vista:

  1. Open the Control Panel window by selecting Start [arrow] Control Panel.

  2. In the Control Panel, under Programs, click Uninstall a program. A list of the installed programs is displayed.

  3. In the program list, select SAS Graph ActiveX Control, and then click Uninstall.

Previous Page | Next Page | Top of Page