Acquiring
the ActiveX Controls
Documentation
ActiveX
Control Capabilities
Microsoft
Access
Microsoft
Visual Basic
Acquiring the ActiveX Controls
How do I get the Imaging ActiveX (OLE) controls?
The Imaging ActiveX controls, as well as the Application’s OLE
Automation interface and the Server Access Object, are included in the
Imaging for Windows package. To purchase Global 360 Imaging for Windows,
point your browser to:www.global360.com
Documentation
Where is the documentation for the Imaging ActiveX (OLE) controls?
The online Help file for the Imaging ActiveX controls resides in the
Imaging for Windows installation folder. This file is named Imgocxd.hlp.
The help file describes the syntax of the various methods and properties
of the ActiveXs and COM object, as well as some code examples for Visual
Basic and C++. Additionally, the release media contains a Developer Guide, which articulates uses of the ActiveX controls and the Server
Access Object.
ActiveX Control Capabilities
Are type libraries available for the ActiveX controls and ActiveX
Automation?
The type libraries are already included in the ActiveX controls (for
example, you can use Microsoft's OleView tool to view them). Imaging for
Windows does not include a typelib for ActiveX Automation.
Do the controls support a dual interface (both early and late binding)?
No. The controls only support late binding, using the IDispatch interface.
What threading models do the controls support?
The Imaging for Windows controls use apartment model threading. Controls
that support apartment model threading can be used in multithreaded
container applications that also support the apartment model.
Microsoft Access
My Access database stores the file names of images in a text field. How
do I use the ActiveX (OLE) controls to view the images in an Access form?
Microsoft Access 7.0 and later supports ActiveX controls. When you create
the form to display an individual record, use Insert -> Custom Control
-> Image Edit Control. In VB 6, you select Project -> Components,
then check the Image Edit Control in the Controls tab. to add the Image
Edit control to the form. Place and size the Image Edit control on your
form as desired. Check the properties of the control to see how to
reference it; for example, ImgEdit1 in the following example. Then add the
following lines of code to the Current Proc for the form:
ImgEdit1.Image=<ImageLocation>
Imgedit1.FitTo 0
ImgEdit1.Display
Microsoft Visual Basic
What version of Visual Basic does Imaging support?
Imaging for Windows supports Visual Basic 6.0. Sample code that
was designed to help you add Imaging functions to your applications is
included on the media on which your Imaging for Windows software was
distributed, and also on the Global 360 Web site.
|