473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

wav files in programs

hi,
it is possible to include picture files in a imagelist so that these files
are hidden in the program files
is it possible to do the same thing with sound(wav) files?
thanks for any response
Apr 24 '06 #1
4 842

andreas wrote:
hi,
it is possible to include picture files in a imagelist so that these files
are hidden in the program files
is it possible to do the same thing with sound(wav) files?
thanks for any response


Sure. Include them in your project as an embeded resource. Then they
will be compiled into your executable.

--
Tom Shelton [MVP]

Apr 24 '06 #2
"andreas" <an*****@pandora.be> schrieb:
it is possible to include picture files in a imagelist so that these files
are hidden in the program files
is it possible to do the same thing with sound(wav) files?


Add the wave file to the project and set its "Build Action" to "Embedded
Resource".

<URL:http://dotnet.mvps.org/dotnet/code/misc/#PlaySound>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Apr 24 '06 #3
Why are certain terms bracketed in the sample code for which you
provided a link? The terms in question are [Stop] and [Loop].

Alcurb

Apr 25 '06 #4
Because "Stop" and "Loop" are reserved words, by enclosing them in "[]" they
may be used as user identifiers.

Sid.
"alcurb" <ay*@dolby.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...
Why are certain terms bracketed in the sample code for which you
provided a link? The terms in question are [Stop] and [Loop].

Alcurb

Apr 25 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ted Byers | last post by:
This is quite frustrating! In the documents, and in the newsgroups, I see simple instructions like the following: =============================================== ==========Beginning of Ray's...
22
by: kalio80 | last post by:
Hi everyone I am trying to create a file that converts text files from unix to windows and windows to unix I understand the general concept of it as unix uses line feed LF Windows uses CRLF...
18
by: xarax | last post by:
Greetings, What is the general practice, usual and customary way, of including a data file into a source file? I have some large data structures defined as source similar to: ...
2
by: kj7ny | last post by:
I am attempting to incrementally back up files using python. How can I compare a file on a hard drive to a file in a python created zip file to tell if the file has changed? Or should I be using...
1
by: =?Utf-8?B?UnVzc2VsbA==?= | last post by:
Some sage tech told me, in an online discussion on how to keep my computer clean and working smoothly, that it was ok to delete all of the "downloaded program files" that reside in that internet...
2
by: wizardRahl | last post by:
Hello, I am curious to know if there is a way to associate old files with a new installation of windows. I reinstalled windows b/c the OS crashed and would never boot. Upon installing the fresh...
14
by: rafal_ | last post by:
Is difference between interpretation of \n only difference ?
4
by: maria | last post by:
I only use C++ with Visual Studio 6.0 for string manipulations in thousands of HTML pages on my website. Many times, the output files of many of my C++ programs contain a spanish question mark (¿)...
13
by: Ruud | last post by:
Hallo allemaal, This is my first message to this group. Until now I mainly wrote programs in Turbo Pascal. But now I'm involved in a project were knowledge of C is needed. I'm not unfamiliar...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.