Ken Lassesen
Microsoft Developer Network Technology Group
October 11, 1995
Click here for a diagram of the VoiceCommand 1.0 Type Library in various graphics formats.
This article consists primarily of a graphic map of the VoiceCommand 1.0 Type Library (VCmdAuto), showing its properties, methods, and child objects. This object allows developers to add speech recognition capabilities to their applications. It is distributed as part of the Speech API Software Development Kit (SDK). Products that contain Visual Basic® and Visual C++™ can access the VoiceCommand 1.0 Type Library.
The VoiceCommand 1.0 Type Library enables developers to add speech recognition capabilities to their applications. This allows an application to respond to speech from the user.
The VoiceCommand 1.0 Type Library (VCmdAuto) is accessible from Visual C++™ version 4.0 and many products that contain Visual Basic® for Applications, including Microsoft® Excel version 5.0 and higher, Microsoft Access 95, Visual Basic version 4.0, and Microsoft Project. from Visual C++. For further information on using this object, see the Speech API Software Development Kit (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 Voice Command object
The object in Figure 1 is defined in Table 1.
Table 1. Object Definitions
Object or Collection | Definition |
VCmdAuto object | This object encapsulates a speech recognition engine written to the Speech API specifications. |
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)