SAMPLE: Cdplayfx.exe Form Shows How to Play Audio CDs

Last reviewed: February 20, 1998
Article ID: Q142765
3.00 3.00b 5.00 WINDOWS kbsound kbprg kbmm kbhowto kbfile kbwebcontent

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0

SUMMARY

Cdplayfx.exe is a sample containing a Visual FoxPro form that shows, by example, how to use some of the multimedia functionality available on the Windows platform via DLL calls.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

~ Cdplayfx.exe

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

The following files are included in the file Cdplayfx.exe:

   Eject.bmp
   Next.bmp
   Play.bmp
   Prev.bmp
   Stop.bmp
   Cdplay.scx
   Cdplay.sct
   Readme.txt

The form CDPLAY is an example of how you can use DECLARE - DLL to register a Windows API function that allows you to control an audio CD from within Visual FoxPro. The Readme.txt file that is included explains the calls that are made and the functionality of the objects on the form.

REFERENCES

You can find more information on command strings that you can send by using mciSendString() in the following resources:

- "Multimedia Programmer's Reference," included with the Windows 3.1

   Software Development Kit (SDK).

- "Multimedia Programmer's Guide," included with the Windows 3.1 SDK.

- MCISTRWH.HLP, a Windows Help file included with Microsoft Visual C++,

  Professional Edition, version 1.X.


Additional reference words: 5.00 3.00 3.00b VFoxWin cd-rom compact disc
disk how to play softlib
KBCategory: kbsound kbprg kbmm kbhowto kbfile kbwebcontent
KBSubcategory: FxotherSound
Keywords : FxotherSound kbfile kbhowto kbmm kbprg kbsound kbwebcontent
Version : WINDOWS:3.0,3.0b,5.0
Platform : WINDOWS
Issue type : kbfile


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