Solved

mmsystem.dll not found (in VB5)

Posted on 1997-08-20
1
352 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 20 total points
Comment Utility
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

762 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

8 Experts available now in Live!

Get 1:1 Help Now