Solved

Access 2013 VBA - will playing a WAV file PAUSE processing while it plays?

Posted on 2014-10-27
2
538 Views
Last Modified: 2014-10-28
Will using a commonly available api call to play a wav file from Access VBA, pause processing to stop, until it completes?

I wanted to play 30 seconds of Jeopardy while a program is running unavoidable pre-processing....  found a PlaySound() function call, but it's unlcear if it stops processing while it plays.

Not critical, as it's only a prank and will be removed shortly after the first few times it runs.... just wondered if anyone had experience doing such a thing.

-Bill-
0
Comment
Question by:bcreen
2 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points
ID: 40407906
It shouldn't stop the processing.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd743680%28v=vs.85%29.aspx
The SND_ASYNC flag causes PlaySound to return immediately without waiting for the sound to finish playing.
0
 

Author Comment

by:bcreen
ID: 40408146
Thanks.  I tried it, and it works perfectly!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Adobe Customization Wizard XI issues 26 255
What are the big features of MVC5? 4 91
What .NET website keeps me current? 9 76
collection output issue 9 36
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

766 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