473,382 Members | 1,329 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,382 software developers and data experts.

how to use a *.wav file which is added in project resourses

hi, I added a *.wav file in project resourses, but how can I access
that file, actually I want to play a sound, the method i am using for
this is my.computer.audio.play(path, -- ) . This method works for any
file whether it is on your hard disk or in your project resources..
but when I use that file,which is added in my project resources, it
does not appear in dorp down property menu... how can I access that
file from my project resources,,,, thanx for help,,,,

Jan 28 '07 #1
2 1309
"zafar" <za*******@hotmail.comschrieb:
hi, I added a *.wav file in project resourses, but how can I access
that file, actually I want to play a sound, the method i am using for
this is my.computer.audio.play(path, -- ) . This method works for any
file whether it is on your hard disk or in your project resources..
but when I use that file,which is added in my project resources, it
does not appear in dorp down property menu... how can I access that
file from my project resources,,,, thanx for help,,,,
\\\
My.Computer.Audio.Play( _
My.Resources.Waterfall, _
AudioPlayMode.Background _
)
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Jan 28 '07 #2
On Jan 29, 1:53 am, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.atwrote:
"zafar" <zafarz...@hotmail.comschrieb:
hi, I added a *.wav file in project resourses, but how can I access
that file, actually I want to play a sound, the method i am using for
this is my.computer.audio.play(path, -- ) . This method works for any
file whether it is on your hard disk or in your project resources..
but when I use that file,which is added in my project resources, it
does not appear in dorp down property menu... how can I access that
file from my project resources,,,, thanx for help,,,,

\\\
My.Computer.Audio.Play( _
My.Resources.Waterfall, _
AudioPlayMode.Background _
)
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
hi buddy, the mothod you sent to me have been tried by me.
My.Computer.Audio.Play( _
My.Resources.Waterfall, _
AudioPlayMode.Background _
)
in this method the "Waterfall" is the name of sound file, but when I
add a sound file in my project resources that does not appear in
My.Resources. (this file name does not appear).... plz can you tell me
what is the reason.

Feb 2 '07 #3

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

Similar topics

19
by: Alan Silver | last post by:
Hello, I have been developing ASP.NET with a text editor so far (better way to learn initially), and have now been trying Visual Web Developer. I want to create a project for an existing site...
6
by: Crirus | last post by:
Hi there I have an application that I use to add images toa resx file The strange thing is that when I retrive the image and use in my application, all pics a re zoomed in and then cropped, so...
2
by: Peter Ritchie | last post by:
In VS/VC 2003: Simple question: for the Custom Build Step for the project (right click the project in the Solution Explorer, select "Properties", select the "Custom Build Step" in the...
2
by: Michael Poirazi | last post by:
Hello I am trying to include some images in my applications resources. 1. Create New Item (Resource File) for my Project 2. Set the name to NetRes.resx 3. Add an image , set the name to Error (it...
4
by: Robert Iver | last post by:
Hello everyone, I am trying to create an application that utilizes a SQL Mobile database. I have included that database in my main project, and it compiles and debugs just fine. I then...
4
by: tshad | last post by:
I am using VB.Net 2003 and have added an existing file to my project but can't seem to get the file to compile and my other file is getting errors when refering to it. The file starts out:...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
4
by: Vadim | last post by:
Hello, I need to converting project that done on Visual Studio 2005 to Visual Studio 2003. What the best way to do this? Vadim Vilkhov
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.