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

x
?
Solved

mmsystem.dll not found (in VB5)

Posted on 1997-08-20
1
Medium Priority
?
402 Views
Last Modified: 2006-11-17
Why can´t I use the command:
Private Declare Sub mciExecute Lib "mmsystem.dll" (ByVal cmd$)

in VB5 Prof??? In VB4 16bit it works fine. In VB5 I get the error "Error 48: File not found: mmsystem.dll" after using the function mciExecute with

mciExecute ("open overlay alias fps")
0
Comment
Question by:thomaskramer
1 Comment
 
LVL 5

Accepted Solution

by:
y96andha earned 80 total points
ID: 1431575
Use this declaration instead. This will work with 32-bit code.

Private Declare Function mciExecute Lib "winmm.dll" Alias "mciExecute" (ByVal lpstrCommand As String) As Long

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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 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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

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