I know how to attach image file to an exe. we can do it using picture box or image tool and picture property of it. now i want to know is there any method to attach mp3 file to an exe? we can use application path method. but in that case audio file is separate from exe file. i just need to know attach mp3 to exe like picture attach to picture box. Please tell me the method.....
Attach audio file to an EXE file.....
Page 1 of 13 Replies - 398 Views - Last Post: 05 February 2012 - 10:24 AM
Topic Sponsor:
Replies To: Attach audio file to an EXE file.....
#2
Re: Attach audio file to an EXE file.....
Posted 02 February 2012 - 09:57 AM
When you Deploy/Build the EXE file, you can select the resources you want to be deployed along with your program. That way, the MP3 will be copied on the system of whoever runs/installs your EXE file.
#3
Re: Attach audio file to an EXE file.....
Posted 02 February 2012 - 10:57 AM
As far as I'm aware, there is no container for MP3 files.
You can store your MP3's in a resource file and play them from there, but it will still be a separate file.
You can store your MP3's in a resource file and play them from there, but it will still be a separate file.
#4
Re: Attach audio file to an EXE file.....
Posted 05 February 2012 - 10:24 AM
Either of the above solutions work. If you only have one MP3 file (you haven't said how many you are using), you probably don't need to use a resource file. However, you should understand what a resource file is and make up your own mind. Resource files are a good way to keep track of various forms of data that accompany an exe.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|