Creating Interactive Output for ActiveX |
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.
Open the SAS Downloads page in your Web browser:
http://www.sas.com/apps/demosdownloads/setupintro.jsp
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.
Click the Request Download button for your Windows platform. This opens the License Agreement page.
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.
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.
Extract the ZIP file that you downloaded. This extracts file sasgraph.exe.
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.
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:
In a text editor, open the initial HTML file of your Web presentation.
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"
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.
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:
Open the Control Panel window by selecting Start Settings Control Panel.
To manually uninstall the SAS/GRAPH ActiveX Control on Windows Vista:
Open the Control Panel window by selecting Start Control Panel.
In the Control Panel, under Programs, click Uninstall a program. A list of the installed programs is displayed.
In the program list, select SAS Graph ActiveX Control, and then click Uninstall.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.