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
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

628 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