Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
This loops any wav file on your form until the for...
Author:
Matt Smith
E-mail:
Click to e-mail author
Submitted:
8/16/2000
Version:
VB4
Compatibility:
VB4, VB5, VB6
Category:
Multimedia
Views:
9818
This loops any wav file on your form until the form closes (WITHOUT API).
Declarations:
' Only for the unsophistocated.
Code:
Private Sub PlayWav() MMControl1.DeviceType = "WAVEAUDIO" MMControl1.filename = "(Full Path and Name).wav" 1 MMControl1.Command = "open" MMControl1.Command = "play" DoEvents Do DoEvents Loop Until MMControl1.Mode = mciModeStop MMControl1.Command = "close" GoTo 1 End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement