Mapping the VoiceText 1.0 Type Library: VTxtAuto

Ken Lassesen
Microsoft Developer Network Technology Group

October 11, 1995

Click here for a diagram of the VoiceText 1.0 Type Library in various graphics formats.

Abstract

This article consists primarily of a graphic map of the VoiceText 1.0 Type Library (VTxtAuto), showing its properties, methods, and child objects. This object allows developers to add speech capability to their applications. It is distributed as part of the Speech API Software Development Kit (SDK). Any Visual Basic®-based language and Visual C++™ can access the VoiceText 1.0 Type Library.

The VoiceText 1.0 Type Library

The VoiceText 1.0 Type Library enables developers to add a speech capability to their applications. This allows an application to generate speech from text instead of from wave files.

The VoiceText 1.0 Type Library (VTxtAuto) is accessible from Visual C++™ and from many products that contain Visual Basic® for Applications. These include Microsoft® Excel version 5.0 and higher, Microsoft Access 95, Visual Basic version 4.0, Microsoft Project, and Visual C++ version 4.0. For further information on using this object, see the Speech API SDK documentation (Development Library, Product Documentation, SDKs), and search the Development Library CD. A good starting point is my article "Using Microsoft OLE Automation Servers to Develop Solutions."

Figure 1 shows the relationship between objects as described by the Object Viewer and online Help files. A map is a good learning aid and a quick reference when developing an application. After producing a map, I found that it was easy to work with the object: I just post the appropriate map on my wall for quick reference, which is a lot faster than clicking objects in a Help file one by one to discover their properties and methods.

Because Figure 1 is difficult to read online, I have included the two most common graphics formats—encapsulated PostScript (.EPS) and Windows® metafile (.WMF)—as well as a copy of my original Shapeware® Visio™ version 4.0 file (.VSD). The first two formats can be printed across multiple pages using any of the commercial graphics applications—such as Adobe™ PageMaker™, Corel® Draw, or Microsoft Publisher—or using Microsoft Excel. The original Visio file is included for those who have a copy of Visio and wish to modify the diagram easily.

Figure 1. The VoiceText object

Object Definitions

The object in Figure 1 is defined in Table 1.

Table 1. Object Definitions

 Object or Collection Definition
VTxtAuto object This object represents a speech engine accessible with this object. There can be only one instance of this object active across the system.

Bibliography

Lassesen, Ken. "Using Microsoft OLE Automation Servers to Develop Solutions." October 1995. (MSDN Library, Technical Articles)

Microsoft Speech API Software Development Kit (SDK) (MSDN Library, Platform, SDK, and DDK Documentation)