Ok, for a small program im making, im using a VLC ActiveX Control and already have buttons to Stop, Play, Go to Next/Prev item, etc. Now im having problems modifying the VLC Control's volume, which I have set at 50.

Here's the code i use for the Volume Down key:

Private Sub Down_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Down.Click
V.Equals(V - 10)
ProgressBar1.Increment(-10)
ListBox1.Items.Add(VLC.Volume)
End Sub

Where V is the volume and the listbox shows the current volume, which never changes.

Can someone help me?

-Technogeek17

In your code you are adding items to the list, not just showing the new volume.

To do that, you must set the new value to the Text property of the listbox and to the VLC.Volume using some code like

ListBox1.text = V.tostring
VLC.Volume = V
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.