Solved

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

Posted on 2014-10-27
2
543 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
matchUp  challenge 9 125
Interview questions for support of a legacy ASP.NET site 4 72
Way to decrease size of apk file 9 109
collection output issue 9 66
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
This article will show, step by step, how to integrate R code into a R Sweave document
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

726 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