Example of Imaging for Windows 95 Automation

The following code demonstrates how to create the Imaging application window as a stay-on-top object.   It also shows how to create and perform actions on an image object displayed in the window, and how to close the image file and exit from the application.

'Declare the Application object and the ImageFile object
'as variables of type Object
Dim App As Object
Dim Img As Object

'Create the Application object (Standard VB call)
Set App = CreateObject("IWangImagemaging.Application")