Just a little program for fun - bit early, but what the heck .. :)
best wishes,
Graham
Here's a version using the Resources facility, which places all the images and music into the compiled .exe file.
Note that a .wav file requires a custom file type, and it's 'Custom Type' when adding it into the Resources needs to be allocated a numeric value greater than 255. Type 0 - 255 are allocated to Windows.
Once it's compiled, it has to be run directly from the .exe (outside the IDE) - it doesn't work from the IDE. So when you compile it, uncheck the 'Execute after Compile' box.
You may find if you look at the resources in the IDE, that they are still pointing to the directory on my machine. If so, you need to modify the file locations to the location on your own machine.
best wishes, :)
Graham
And if folk don't have the time to fiddle with code at this time of year, here's the complete .exe
all the best, :)
Graham
Very nice Graham,
Thank you!
:)
You're welcome Doc .. :)
Graham
Nice, thanks it's put me in the mood! :D