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
261 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

815 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

12 Experts available now in Live!

Get 1:1 Help Now