>>>Hello,
>>>I want to play a certain Wav-sound by pressing a button. I inserted an OLE control onto my form, bound to a wav file.
>>>But I can't figure out, how to trigger the control.
>>>Or is there another way of playing wav sounds in forms?
>>>Thanks for your time!
>>
>>I haven't tried this, so this is off the top of my head. There are ActiveX controls that are designed to play sounds of various types. What their requirements are I have no idea off the top of my head. (I'll know by tomorrow though) They should take advantage of installed sound capabilities. When I'm working on a game, I use the DirectX tools to provide sounds. But then I'm working with C++.
>>
>>Regards,
>>
>>Jason
>
>The easiest way is
>
>x = (name of .wav file)
>SET BELL TO '&x',1
>?? chr(7)
>SET BELL TO
Hi Don,
Works perfect, and so easy! Thanks for the tip!
Christian Isberner
Software Consultant