Wave files & Win Media Player 
Author Message
 Wave files & Win Media Player

Is there a way to launch Windows Media Player in a string with a Wave file
from code?  Without using Dev Ashish's Huge API?
Thanks
Ed


Fri, 15 Jul 2005 01:00:41 GMT  
 Wave files & Win Media Player
Using APIs may be daunting at first look, but they're definitely the way to
go. And I'd hardly call the code at
http://www.mvps.org/access/api/api0011.htm "huge". Copy that code into a
module, then it's 2 lines of code to use it, one to call fPlayStuff and
(optionally) one to call fStopStuff

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele


Quote:
> Is there a way to launch Windows Media Player in a string with a Wave file
> from code?  Without using Dev Ashish's Huge API?
> Thanks
> Ed



Fri, 15 Jul 2005 01:06:44 GMT  
 Wave files & Win Media Player
Thanks Doug
It worked Great!  You were right as usual.
Ed


Quote:
> Using APIs may be daunting at first look, but they're definitely the way
to
> go. And I'd hardly call the code at
> http://www.mvps.org/access/api/api0011.htm "huge". Copy that code into a
> module, then it's 2 lines of code to use it, one to call fPlayStuff and
> (optionally) one to call fStopStuff

> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele



> > Is there a way to launch Windows Media Player in a string with a Wave
file
> > from code?  Without using Dev Ashish's Huge API?
> > Thanks
> > Ed



Fri, 15 Jul 2005 22:07:44 GMT  
 Wave files & Win Media Player
Mr. Steele
The Wave API I was using quit working saying it can't find the Project
Library.

In:
Private Declare Function apiPlaySound Lib "Winmm.dll" Alias "sndPlaySoundA"
_
    (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

Would the project library name be apiPlaySoundLib ? Winmm, ?   I may have
caused this during clean-up.
thanks



Quote:
> Using APIs may be daunting at first look, but they're definitely the way
to
> go. And I'd hardly call the code at
> http://www.mvps.org/access/api/api0011.htm "huge". Copy that code into a
> module, then it's 2 lines of code to use it, one to call fPlayStuff and
> (optionally) one to call fStopStuff

> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele



> > Is there a way to launch Windows Media Player in a string with a Wave
file
> > from code?  Without using Dev Ashish's Huge API?
> > Thanks
> > Ed



Tue, 19 Jul 2005 06:42:15 GMT  
 Wave files & Win Media Player
Its fixed...  and works great.
Thanks


Quote:
> Using APIs may be daunting at first look, but they're definitely the way
to
> go. And I'd hardly call the code at
> http://www.mvps.org/access/api/api0011.htm "huge". Copy that code into a
> module, then it's 2 lines of code to use it, one to call fPlayStuff and
> (optionally) one to call fStopStuff

> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele



> > Is there a way to launch Windows Media Player in a string with a Wave
file
> > from code?  Without using Dev Ashish's Huge API?
> > Thanks
> > Ed



Tue, 19 Jul 2005 07:27:11 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Playing Media Files (Quicktime/real player/win media)

2. On MS win media player's mp3 driver

3. Instantiating Win Media Player 7 control from VBScript

4. Windows Media Player - MSDXM.OCX control won't register

5. Win 95 Media Player crashes

6. Windows Service & Media Player

7. Windows Media Player - Playlists & Metafile Format

8. VB & Media Player

9. Media Player or Real Player

10. VB & Windows Media Player OCX

11. Timer and File Location In Media Player(ActiveX)

12. WAVE file player

 

 
Powered by phpBB® Forum Software