Solved

sounds on vb2 or 3

Posted on 1998-09-11
3
133 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

11 Experts available now in Live!

Get 1:1 Help Now