• Welcome to PlanetSquires Forums.
 

question about playing a sound?

Started by veltesian, July 30, 2020, 11:15:41 PM

Previous topic - Next topic

veltesian

hello everyone...

i would like to know how can this 1 included *.bas could be fixed if possible? i had
ideas on building a simple SND player device if its ever possible. i might need to look
further perhaps as the code within the form of the included *.bas may not be right.
when i try to compile it for runtime,... the compiler seems to not like the declare function
& the "playsound" seems like an undefined variable. i'm not sure where to go from here.

(.... sigh) i guess i have a lot to learn about windows API or how to arrange such things.

jermy

I think you used visual basic 6 in the past?
if so then you have some specific explanation in the project about the differences

veltesian

hello jermy...

i just downloaded your playsound.zip and tried it. thanks it works great & yes i had
worked in vb6 (before .NET framework)... though i guess my zip upload was probably no good
to begin with. thats ok.... so i am sorry if it greatly disappoints anyone who might download it.

jermy

before I started freebasic I programmed a lot in vb6.
I have often used old vb6 code as it often works with minor changes.
On the way you learn the differences faster