Welcome to Dream.In.Code
Become a C# Expert!

Join 150,390 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,076 people online right now. Registration is fast and FREE... Join Now!




how can i make my form make PAUSE AND STOP to a playing sound

 
Reply to this topicStart new topic

how can i make my form make PAUSE AND STOP to a playing sound

THEROCK
8 Mar, 2008 - 12:12 PM
Post #1

New D.I.C Head
*

Joined: 4 Mar, 2008
Posts: 4

PEACE BE UPON YOU.
hii everybody....
I made A program that plays a sound from a file but i want o make it pause and stop when i click a button..
please help me .. iam also a new C# programmer.

User is offlineProfile CardPM
+Quote Post

papuccino1
RE: How Can I Make My Form Make PAUSE AND STOP To A Playing Sound
8 Mar, 2008 - 02:01 PM
Post #2

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
QUOTE(THEROCK @ 8 Mar, 2008 - 01:12 PM) *

PEACE BE UPON YOU.
hii everybody....
I made A program that plays a sound from a file but i want o make it pause and stop when i click a button..
please help me .. iam also a new C# programmer.


How new are you? xD

Because I'm fairly new aswell and haven't even begun to know how to play a sound.

Know this though, the event has to be programmed into the Play/Pause button. xD All I know about the subject. PS. What have you made so far? Could I look at your code?

User is offlineProfile CardPM
+Quote Post

Jayman
RE: How Can I Make My Form Make PAUSE AND STOP To A Playing Sound
8 Mar, 2008 - 05:36 PM
Post #3

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,327



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks.
User is offlineProfile CardPM
+Quote Post

zakary
RE: How Can I Make My Form Make PAUSE AND STOP To A Playing Sound
10 Mar, 2008 - 06:25 AM
Post #4

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 420



Thanked: 8 times
Dream Kudos: 175
My Contributions
First you will need to understand Managed and Unmanaged Code. You will need to know about both Microsoft Windows Media and and Microsoft DirectX if you want to use Media Player as your Playback tool. Now if you want to use something else you will need to research that.

User is offlineProfile CardPM
+Quote Post

davegeek
RE: How Can I Make My Form Make PAUSE AND STOP To A Playing Sound
10 Mar, 2008 - 06:50 AM
Post #5

D.I.C Head
Group Icon

Joined: 30 Jan, 2008
Posts: 81



Thanked: 2 times
My Contributions
Guys!
I always advocate the KISS principle.
Just google for "visual c# play sound" & u will get a lot of stuff to study.
If not, go to MSDN and search for the same string.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 05:31PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month