Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vb4 16.dill to 32 dil

Posted on 1998-09-03
1
Medium Priority
?
165 Views
Last Modified: 2010-04-30
this function works in vb4 16 but DOES NOT WORK in 32
what dill (in 32) will work and what is its format

function sndPlaySound Lib "MMSYSTEM.Dll"
(ByVal lpszSoundName$, ByVal w Flags%) as integer
0
Comment
Question by:hjaycox
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 200 total points
ID: 1433000
Here is the declaration under Win32

Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

886 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