Solved

Playing Waves in App.

Posted on 1997-05-04
2
167 Views
Last Modified: 2010-04-06
I'm using "sndPlaySound('TAStartUp',SND_ASYNC);" to try to play a wave at the start of my D2 program (while the splash screen is showing).  If I put the definition of TAStartUp in the register under AppEvents\EventLabels, and AppEvents\Schemes\.default, then the sound plays.  But if I put it in a sub-key for the program (e.g., AppEvents\Schemes\Assistant), no sound is played!

What am I doing wrong?!?!  Could anyone offer suggestions?!?!
0
Comment
Question by:Raven1155
2 Comments
 
LVL 2

Accepted Solution

by:
alona041797 earned 75 total points
ID: 1335896
I think the program header should be equal to the your application's project name.
0
 

Author Comment

by:Raven1155
ID: 1335897
Alona,

Your answer does not fix the problem using "sndPlaySound", but it clears it right up when one uses "PlaySound" and follows your suggestion in the Registry.

Thanks!
 Jim 8^)
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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

20 Experts available now in Live!

Get 1:1 Help Now