Solved

sounds on vb2 or 3

Posted on 1998-09-11
3
134 Views
Last Modified: 2010-04-30
Can u play sounds on vb 2 or 3?
0
Comment
Question by:jlen0fan
3 Comments
 

Expert Comment

by:staticsnow
ID: 1434402
There is an API function to play WAV files.  I forget what it is, but look in the API file for something like PlaySound
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1434403
it's sndPlaySound, you'll have to get it's declaration from \Winapi\Winapi.txt
0
 
LVL 12

Accepted Solution

by:
gbzhhu earned 20 total points
ID: 1434404
Why don't you just put an MCI control in your VB and use to play sounds or videos.  I have a VB 3 program that plays both sounds and videos and I use MCI control.

Let me know if you want to use MCI and I will send you some examples
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now