Microsoft KB Archive/94185

= FIX: VB MCITEST CD Player Sample Displays Incorrect Track =

Article ID: 94185

Article Last Modified on 1/8/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Professional Edition

-



This article was previously published under Q94185



SYMPTOMS
The CD Player component of the MCITEST.MAK sample program incorrectly displays random numbers in the field labeled &quot;Track.&quot;



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 &quot;VB&quot; 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 query words: buglist2.00 fixlist3.00 2.00 3.00 multimedia

Keywords: kbbug kbfix KB94185

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.