simple programming help

Soldato
Joined
19 Jan 2005
Posts
2,722
Hi I'm looking to get a really simple countdown programme made. I've tried making it myself in VB but I haven't programmed in about 6 years and for what I want it's not worth me learning everything from scratch again so if someone could help me out I'd appreciate it.

Basically all I want is a little exe app with no install or anything necessary, open it, there's an input box for how long you want (say 2 minutes) and then a go button, when it runs out it plays a noise. I have a noise I'd like so that will need putting in, it's only a 2 second long wav file, is there anyway to incorporate that into the exe? When i was messing around with VB it was all string functions locating the fil and whatever, if I put it on the radio's computer then then destination will be different from my computer.

Can anyone help me out? For a half decent programmer I can't see it taking more than 10 minutes.

I need it for my radio show for when I do quizzes and things so I'd appreciate any help.

Thanks
 
Follow the instructions here, except with the addition that first you have to add your file as a resource when you get to the resources tab, by changing the 'strings' drop down to 'audio' and then searching for your file, or just dragging it in there.

http://msdn.microsoft.com/en-us/library/e2c9s1d7(VS.80).aspx

Then when you want to pass that audio to a function, you reference it as My.Resources.whatever_it's_called_without_the_file_name_extension.
 
Last edited:
Back
Top Bottom