FIX: VB MCITEST CD Player Sample Displays Incorrect Track

Last reviewed: October 30, 1997
Article ID: Q94185
2.00 WINDOWS kbprg kbbuglist

The information in this article applies to:

  • The Professional Edition of Microsoft Visual Basic for Windows, version 2.0

SYMPTOMS

The CD Player component of the MCITEST.MAK sample program incorrectly displays random numbers in the field labeled "Track."

STATUS

Microsoft has confirmed this to be a bug in the MCITEST sample application supplied with the Professional Edition of Microsoft Visual Basic for Windows, version 2.0. This problem was corrected in Microsoft Visual Basic version 3.0 for Windows.

MORE INFORMATION

To correct the above problem, add the following code to module GLOBAL.BAS:

    Global Const MCI_FORMAT_TMSF = 10

Steps to Reproduce Problem

  1. Run Visual Basic.

  2. From the File menu, select Open Project (press ALT, F, O). Select MCITEST.MAK from the directory VB\SAMPLES\MCI, where "VB" is subdirectory where Visual Basic is located.

  3. From the Run menu, select Start.

  4. From the Devices menu, select CDAudio, click the Load button, and click the Play button. The track number starts at 1, then incorrectly displays random numbers.


Additional reference words: buglist2.00 fixlist3.00 2.00 3.00 multimedia
KBCategory: kbprg kbbuglist
KBSubcategory: PrgCtrlsCus
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.