Hi all,

I've got a music player and I'm having a tough time fixing two errors. Whenever I try to run this line of code with a .mp4 or .wma file it will give me the error object variable or with variable not set.

VB Code:
  1. duration = DirectShow.DirectShow_Position.duration

Does anyone know why?