Click here to Skip to main content
13,588,616 members
Rate this:
Please Sign up or sign in to vote.
See more:
Basically what I'm trying to accomplish is. I want to be able to type a particular time into an input box and for the vlc media player within VB.NET to play from that point, but I don't know how.

Code so far:

Public Class Form1
        Dim Paused As Boolean = False
        Dim Started As Boolean = False
        Dim PlayedSecond As Boolean = True
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            PlayedSecond = False
            Started = True
        End Sub

        Sub playsecond()
                PlayedSecond = True
                Started = False
        End Sub

        Private Sub AxVLCPlugin21_pause(sender As Object, e As EventArgs) Handles AxVLCPlugin21.pause
                Paused = True
        End Sub

        Private Sub IsFinished_Tick(sender As Object, e As EventArgs) Handles IsFinished.Tick
            If Not AxVLCPlugin21.playlist.isPlaying And Paused = False And Started = True And PlayedSecond = False Then
                Started = True
            End If
        End Sub

        Private Sub AxVLCPlugin21_play(sender As Object, e As EventArgs) Handles
            Paused = False
        End Sub
    End Class
Posted 27-Jan-13 7:42am
Updated 27-Jan-13 7:49am
Andreas Gieriet 27-Jan-13 14:39pm
You have posted that very same code with a slightly similar question in another post just a few hours ago.
Seems that your question is not appealing enough to attract enough CP experts. If you want to improve your original question, please do it there and refrain from posting the question a second time. This is just annoying.
Andrew Smith 27-Jan-13 15:35pm
Same code but different questions.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Have you tried that:

The documentation is here:[^]

Andrew Smith 27-Jan-13 17:39pm
That won't work
Error 1 'shuttle' is not a member of 'AxAXVLC.AxVLCPlugin2'.
Valery Possoz 27-Jan-13 18:56pm
Oops! Sorry... My answer was for the now deprecated V1 ActiveX. I did not realise you are using the V2 of the ActiveX.
With Version2 all you need to do is

AxVLCPlugin21.input.Time = milliseconds

Documentation is here:
Andrew Smith 27-Jan-13 19:39pm
Thanks :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web03-2016 | 2.8.180615.1 | Last Updated 27 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100