I Make my first project, a mp3 player and i want to include a vu meter, i have no idea how to do it, i find a free ocx (Acrotech Level Meter) and i try this but nothing work, can you help me please
vb
Private Sub cmd_Play_Click()
On Error Resume Next
MediaPlayer1.Play
If img_Green_Led(0).Visible = True Then
img_Green_Led(0).Visible = False
img_Green_Led(1).Visible = True
img_Red_Led(0).Visible = True
img_Red_Led(1).Visible = False
img_Blue_Led(0).Visible = True
img_Blue_Led(1).Visible = False
End If
ww.Caption = "Of " & MediaPlayer1.Duration & " seconds total."
LevelMeter_Left.Level = MediaPlayer1.AudioStream
LevelMeter_Right.Level = MediaPlayer1.AudioStream
lbl_Statusbar_Main.Caption = "Play"
End Sub
Mod Edit: Please use code tags when posting your code. Code tags are used like so =>

Thanks,
PsychoCoder