"Device Is Not Open or Is Not Known" Running VB MCITEST Sample

Last reviewed: June 21, 1995
Article ID: Q83756
The information in this article applies to:

- Professional Editions of Microsoft Visual Basic for Windows,

  versions 2.0 and 3.0
- Microsoft Professional Toolkit for Microsoft Visual Basic programming
  system for Windows, version 1.0

SUMMARY

If you run the MCITEST sample program included with the Microsoft Visual Basic Professional Edition programming system version 2.0 for Windows; or the Professional Toolkit for Microsoft Visual Basic programming system version 1.0 for Windows, and receive the following error message:

   The device is not open or is not known

it is possible that you have not installed the multimedia movie player driver that is on Disk 1 of the Professional Edition, or Professional Toolkit. These drivers are not automatically installed because of their large sizes. If you need these files, you must install them using the Windows Control Panel.

MORE INFORMATION

The drivers needed to run the animation portion of the MCITEST are MCIMMP.DRV and MMP.DLL. These files are archived on Disk 1 of the Visual Basic for Windows Professional Edition or Professional Toolkit. To install these drivers, you must use the Windows 3.1 Control Panel. If you have Multimedia Extensions for Windows 3.0, you must rename the following files on Disk 1 before installing using the Control Panel:

   MCIMMP.DR_  to    MCIMMP.DRV
   MMP.DL_     to    MMP.DLL

To install the drivers, do the following:

  1. Run Control Panel from the Windows Program Manager either by clicking on the icon or by choosing Run from the File menu.

  2. In the Control Panel, double-click the Drivers icon.

  3. In the Drivers dialog box, choose the Add button.

  4. In the Add dialog box, select Unlisted or Updated Driver and choose the OK button.

  5. In the Install Driver dialog box, specify the drive containing Disk 1 of the Visual Basic for Windows Professional Edition or Professional Toolkit, and choose the OK button.

  6. In the Add Unlisted or Updated Driver dialog box, select the "[MCI] Multimedia Movie Player" driver and choose the OK button.

The driver is now installed. You should now be able to run the animation portion of the MCITEST program.


Additional reference words: 1.00 2.00 3.00
KBCategory: kbprg
KBSubcategory: PrgCtrlsCus


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: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.