Finding length of a video file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vdraceil
    New Member
    • Jul 2007
    • 236

    Finding length of a video file

    Hi,i'm using vb6.I have a command button which when clicked opens VLC Media Player and plays a specific file in it in full screen mode. Now i want the player to close itself after playing the file.
    I dont know how to do this, but if i can possibly find out the time length of the video,i can send a close message to that window.
    So,does anyone know how to find out the length of a video file or any alternative solution for this problem?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    i think the built in windows media player control is easy to use and handles all those quiet easily.

    Comment

    • vdraceil
      New Member
      • Jul 2007
      • 236

      #3
      Yes,i know to handle it in vb-wmp control, but in my project i'm supposed to display icons of various installed players and when the user clicks an icon,the already selected video file my play in the corresponding player.
      I'm comfortable with extracting the icon,opening the player,but i my project involves automatically closing the file after complete play.

      Comment

      Working...