Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Knowing when a sound file is played?

Posted on 2004-08-12
1
Medium Priority
?
198 Views
Last Modified: 2010-04-23
Hi all.  I have a program that plays a sound file occasionally.  I know where the sound file is, and what I'm wondering is if there is anyway for my .Net program to know when the file is played so it can do some actions.  I tried filesystemwatcher for last accesed and a couple others, but it doesn't seem to access the file everytime it is played.  So, is there a way to know when the file gets played?

Also, a side question.  I'm fairly new here, and I was just wondering what these points are and how they work?
0
Comment
Question by:NemoNiente
[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
1 Comment
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 150 total points
ID: 11790426
If the sound file is small, the application is probably loading and storing it in memory upon startup.  The file is then played directly from memory whenever it is needed.  Playing files from memory prevent file access delays that may occur if the file is played from the hard drive each time it is requested.

If this is the case, there is no way to tell each time the file is played.

The points you assign to a question will be awarded to the person(s) you deem to have answered your question correctly.  The point value will be multiplied by 4 for a grade of A, by 3 for a grade of B, and by 2 for a grade of C.  So a person who singlehandledly answers a 500 point question with a grade of A will receive 2000 points.  This is supposed to be the maximum for any question.

These points go towards an Expert earning certifications in each topic area.  The first certification level is Master at 50,000 points in a topic area.

Your point totals can also qualify you for Premium Services which give you Unlimited Questions and the ability to Search EE.  To get free Premium Services you must first accumulate a total of 10,000 points and then at least 3,000 points each month to keep them.

You can find this information and a whole lot more at:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/help.jsp

Idle_Mind
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

596 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