Embed sounds into VB resources 
Author Message
 Embed sounds into VB resources

How can I embed sounds into a VB resource. I know it can
contain all the pictures, but how can I add sounds?

Thanks,
Ondra



Mon, 07 Mar 2005 02:05:25 GMT  
 Embed sounds into VB resources
Hi Ondra,

You can add a sound (.wave, .mp3, etc.) as an embedded resource of the
assembly just like a graphic or rtf file. Unfortunately, there is nothing to
do with it then to my knowledge since there is not a native .NET media
player. The Windows Media Player works fine via Interop, but then you have
to give it an external file reference as its .FileName property.

HTH,

--
Jeff Rhodes
Author of "VBTrain.Net: Creating Computer and Web Based Training with Visual
Basic? .NET"
www.vbtrain.net
Home of the Shape and Graphical Text controls


Quote:
> How can I embed sounds into a VB resource. I know it can
> contain all the pictures, but how can I add sounds?

> Thanks,
> Ondra



Mon, 07 Mar 2005 21:06:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Embedding a sound in VB

2. Embedded Resources in VB

3. embedded VB resources

4. how to reference the sound embedded in document?

5. Code to play embedded sound file

6. Embedding sound in an ActiveX Control

7. embed a sound in VB6?

8. How to embed sounds and fonts?

9. Embedding sounds in an EXE

10. embedded avi, palettes, and sound control

11. How to embed sounds and fonts?

12. How to embed sounds and fonts?

 

 
Powered by phpBB® Forum Software