|
-
Nov 2nd, 2009, 06:08 PM
#1
Re: Looping a .wav File
Design-time only means while you are writing code, etc. Run-time is when you run it, whether that is in VB or compiled.
The answer to your question is that you cannot stop the code and then have something happen - you need to close it properly (the same way you would when it is compiled), so that the code to tidy up has a chance to run.
Note that Form_QueryUnload is actually the wrong place for the code, it should be in Form_Unload instead. There is an explanation of why in the article How should I close my form/program/class? from our Classic VB FAQs
-
Nov 2nd, 2009, 06:21 PM
#2
New Member
Re: Looping a .wav File
si_the_geek
So, if I put the call (StopPlay_LOOP "") in Form_Unload it will Stop Playing the loop when I close the Form?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|