Solved

adding background sound to form  + adding a picture to a picture box  in C# when form already load

Posted on 2010-11-23
4
253 Views
Last Modified: 2012-05-10

1)  I have a form that  displayed some graphics and i would like to add a background sound to the     form so that when the form is loaded it play a song  automatically and if i want to turn the sound off i would click a button.

2)  also be able to add any picture to a picture box that is on the form after the form is already loaded.


i was thinking that i would have to set this in the load form event, but not sure how to do this.
0
Comment
Question by:SweetsJamRock
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 34198852
Go through these links, i am sure they will help:-

http://www.vbdotnetheaven.com/UploadFile/scottlysle/PlaySoundsInASPX09032006083212AM/PlaySoundsInASPX.aspx

http://forums.asp.net/t/1299915.aspx

The second one is a discussion....

Hope it helps
:-)
0
 

Author Comment

by:SweetsJamRock
ID: 34202291
BuggyCoder,

  i am not building a web page.  this is a C# program and form.  those link did not help
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 34202589
0
 

Author Closing Comment

by:SweetsJamRock
ID: 34222918
The concept is straight forward even though thats not where i wanted it to load from.  But the illustration is the ideal one for the problem.

i thank you for the solution bro.  sorry it took so long to respond, but my schedule is very tight and long

thanks again
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now