We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,078 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Best way to handle an Audio file

Hello ^^

I have been working on this for a long while now, I have added a Windows media player that I hide in the Background of my application window(form) . and lets say its named "Player"

Player. "WHAT" = gets me the Original length of the Audio file being played ?

I tried something .something. duration ... but that gets where the player is actually is .


that's for the first request.

as for the second. when I want a certain file I want to be ready to be deployed and ready to be used anywhere, is there a way to import the audio I'm using into the project rather than going "C:\.....etc" ... cause lets face it ... it wouldn't be on the "C\:...etc" when I deploy it and use it else where.

Hope I made everything clear and simple.

Thank you ya'll !

2
Contributors
3
Replies
17 Hours
Discussion Span
3 Years Ago
Last Updated
4
Views
GuruJin
Newbie Poster
14 posts since Feb 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

Have you tried Player.currentMedia.durationString()?

Dukane
Posting Whiz in Training
295 posts since Oct 2006
Reputation Points: 45
Solved Threads: 29
Skill Endorsements: 0

does the same thing, it just tells me where am I , I want something that gives me the actual duration or length of the Audio file so I can check when its done.

how about the deployment problem ... ?

GuruJin
Newbie Poster
14 posts since Feb 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

Have you tried Player.currentMedia.durationString()?

aaaaah, that works perfectly now ^^; thanks ...

^^ thanks :) :) :) :) :)

GuruJin
Newbie Poster
14 posts since Feb 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0679 seconds using 2.65MB