Solved

vb4 16.dill to 32 dil

Posted on 1998-09-03
1
157 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 50 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 65
VB error "Type mismatch" 2 42
Validating VB6 Function 19 49
Run code from text file in vb 1 32
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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now