How to Seek a CD Track by Using the MCI ControlLast reviewed: June 21, 1995Article ID: Q112732 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0
SUMMARYThe MCI Control supports seeking a certain Track by using the Commmand and To properties. In order to seek to a specific track, specify which track in the To property of the MCI Control. Then, using the Command property, perform the seek. This article gives an example.
MORE INFORMATIONThe To property of the MCI Control will allow the seek to move to another position based on the current time format. If you set the TimeFormat property to MCI_FORMAT_TMSF (10), it will allow you to move to the beginning of specific tracks.
Step-by-Step ExampleThe following example shows how to seek through all tracks on a CD and play them for five seconds with the MCI Control.
REFERENCESFor more information, see the Multimedia Programmer's Reference, CDAudio.
|
Additional reference words: 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |