|
-
Nov 14th, 2000, 04:22 PM
#1
Thread Starter
PowerPoster
I have a simple program where it plays a sound file, but I would like to see a progress bar. I think a slider would work fine, but how could I get this to work?
Thanks (MidgetsBro)
-
Nov 14th, 2000, 05:17 PM
#2
Hyperactive Member
Are you using a control?
If so, which one?
-
Nov 14th, 2000, 07:59 PM
#3
Addicted Member
If your using the media player control it's simple.
you could use the following:
in a command button:
Code:
slider1.value = 0
slider1.max = mediaplayer1.duration
mediaplayer1.play
in a timer:
Code:
timer1.interval = 1
slider1.value = mediaplayer1.currentposistion
That should work. If there is an error i'm sorry. I just wrote it just now, but you should get the idea.
hope that helps.
-
Nov 14th, 2000, 09:15 PM
#4
Thread Starter
PowerPoster
I am using an API code to play a wav file. It is still possible?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|