March 29, 2024, 09:27:34 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Early Christmas Wish

Started by GWS, November 23, 2007, 03:24:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GWS

Just a little program for fun - bit early, but what the heck ..  :)

best wishes,

Graham
Tomorrow may be too late ..

GWS

December 08, 2007, 03:06:43 PM #1 Last Edit: December 08, 2007, 03:32:21 PM by GWS
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
Tomorrow may be too late ..

GWS

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
Tomorrow may be too late ..

Doc


GWS

You're welcome Doc ..  :)

Graham
Tomorrow may be too late ..

Ficko

Nice, thanks it's put me in the mood! :D