Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. trackbar value

trackbar value

Scheduled Pinned Locked Moved C#
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jet
    wrote on last edited by
    #1

    i am trying to develop a player using mci... i want to control volume with the track bar..... so what i did is // code// mcisendstring(String.Format("set {0} volume to {1}",file, trackbar.value),String.Empty,0,0); i don't see any effect can someone help with this./.. another problem is getiing the length.... i don't know the format i am gettin my values in what i do is // first mcisendstring("set file time format ms",String.Empty,0,0); mcisendstring("status file length",result,255,0); the result contains values which is unclear to me.... cud someone help with this as well? thankx so much //

    P 1 Reply Last reply
    0
    • J Jet

      i am trying to develop a player using mci... i want to control volume with the track bar..... so what i did is // code// mcisendstring(String.Format("set {0} volume to {1}",file, trackbar.value),String.Empty,0,0); i don't see any effect can someone help with this./.. another problem is getiing the length.... i don't know the format i am gettin my values in what i do is // first mcisendstring("set file time format ms",String.Empty,0,0); mcisendstring("status file length",result,255,0); the result contains values which is unclear to me.... cud someone help with this as well? thankx so much //

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Not sure. Do you care to tell us a little more about mcisendstring?

      "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

      J 1 Reply Last reply
      0
      • P Paul Conrad

        Not sure. Do you care to tell us a little more about mcisendstring?

        "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        J Offline
        J Offline
        Jet
        wrote on last edited by
        #3

        Paul Conrad wrote:

        mcisendstring?

        mciendstring is a system call part of the MCI API(MULTIMEDIA CONTROL INTERFACE.... it takes a list of command strings to make these calls.... i get some help on it from the MSDN.. maybe more can be read there.. examples" mcisendstring("set CDAudio door open", Sring.Empty,0,0)"=== this will open a CD tray....

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups