?
Solved

Playing Waves in App.

Posted on 1997-05-04
2
Medium Priority
?
176 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
[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 2

Accepted Solution

by:
alona041797 earned 150 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 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