Results 1 to 4 of 4

Thread: Progress Bar for sounds

  1. #1

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    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)
    <removed by admin>

  2. #2
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335
    Are you using a control?
    If so, which one?
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

  3. #3
    Addicted Member Stephen Bazemore's Avatar
    Join Date
    Aug 2000
    Location
    North Carolina
    Posts
    158
    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.
    Stephen Bazemore
    Email:[email protected]

  4. #4

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I am using an API code to play a wav file. It is still possible?

    Thanks
    <removed by admin>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width