INFORMIX
Visionary User's Guide
Chapter 14: Viewing a Published World
Home Contents Index Master Index New Book

Launching Visionary Viewer

You can launch the Visionary Viewer ActiveX control in a container application or in a Web browser.

Launching in a Container Application

You can use the Visionary Viewer control in a Visual Basic, C++, or Java application. Figure 14-1 shows Visionary Viewer in a sample container application.

Figure 14-1
Visionary Viewer in a Container Application

For a complete C++ example, see the sample source code in the ViewerApp directory on the Visionary installation CD.

Launching in a Web Browser

You can use the Visionary Viewer control in any Web browser that supports ActiveX. Figure 14-1 shows Visionary Viewer in a Web browser.

Figure 14-2
Visionary Viewer in a Web Browser

When you publish a Visionary world, you can generate a sample HTML page to test your Visionary world in a Web browser.

The following code is an example of an HTML page for Microsoft Internet Explorer that calls Visionary Viewer using VBScript:

You can also manually create the object definition for Visionary Viewer and write a custom script to call the Viewer control.

To create a Visionary Viewer Web page manually

    1. Create the object definition for Visionary Viewer. If you do not have software to create the object definition, you can download the Microsoft ActiveX Control Pad at no cost from http://www.microsoft.com.

    2. After you have created the object definition, you can write an HTML page using any scripting language to load the control.




Visionary User's Guide, version 1.0
Copyright © 1998, Informix Software, Inc. All rights reserved.