Hi Paul, Thank you for that very useful link. Looks like the best way to go if I can implement it.
Anu Rang, TotallyFreeEnergy http://totallyfreeenergy.zxq.net --- In advanced_delphi@yahoogroups.com, "Paul" <[EMAIL PROTECTED]> wrote: > > You don't need components to add sound files to your program. > You can put them in een resource and add it to your program. > http://delphi.about.com/od/objectpascalide/a/embed_resources.htm > > You can add any resource to any program. > check BeginUpdateResource, UpdateResource and EndUpdateResource API call's > > > Paul > > > ----- Original Message ----- > From: [EMAIL PROTECTED] > To: advanced_delphi@yahoogroups.com > Sent: Thursday, June 26, 2008 9:25 PM > Subject: Re: [advanced_delphi] Embedding MP3/Wav format sound file to theDelphi form at design time > > > mp3 is a bit problematic, but wav can be embedded on the form by third > party components that do that at design time, check Torry's. > > Carlos > > Quoting Paul <[EMAIL PROTECTED]>: > > > Doesn't using TMediaplayer work for you? > > > > Paul > > > > > > ----- Original Message ----- > > From: Anu Rang > > To: advanced_delphi@yahoogroups.com > > Sent: Thursday, June 26, 2008 8:36 PM > > Subject: [advanced_delphi] Embedding MP3/Wav format sound file to > > the Delphi form at design time > > > > > > I am trying to add sound (wav/mp3) to my Delphi form. I have tried > > using the OLE container component. It is messy and does not work the > > way I want it. Brings up the mediaplayer slowly and then asks me if it > > is ok to open the sound file since it is from a unpublished source. > > Irritating ! I am only trying to make it sing while the timer goes off. > > > > I would really appreciate it if anyone can add any input on this. > > > > Thanx-n-advance > > > > Anu Rang, TotallyFreeEnergy > > http://totallyfreeenergy.zxq.net > > > > > > > > >