logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Papo  
#1 Posted : Monday, August 10, 2020 10:15:39 AM(UTC)
Papo

Rank: Advanced Member

Groups: Registered
Joined: 6/16/2020(UTC)
Posts: 72
Peru

Thanks: 8 times
Was thanked: 2 time(s) in 2 post(s)
Greetings to all, I am using visual studio 2010, my question is how to use the vmixinterop.dll in visual studio but encoded in visual basic, how could it be used in visual basic, if someone could please provide me with that code, it does not matter that this in white I just want to see the structure of the skeleton, I have seen its functions that it has according to the examples in the forum, but used in visual basic there is none, I have tried to translate those examples to vb but I get errors among those the inherits and implements, well here an example:
Code:
Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Threading
Imports System.ComponentModel
Imports vMixInterop
Namespace Probando
    Partial Public Class MainControl
        Inherits UserControl
        Implements vMixWPFUserControl, INotifyPropertyChanged
        Public Sub New()
            MyBase.New()
            Me.InitializeComponent()
            LayoutRoot.DataContext = Me
        End Sub
        Public Sub Load(ByVal width As Integer, ByVal height As Integer)
        End Sub
        Public Sub Play()
        End Sub
        Public Sub Pause()
        End Sub
        Public Sub SetPosition(ByVal position As TimeSpan)
        End Sub
        Public Function GetPosition() As TimeSpan
            Return New System.TimeSpan(0)
        End Function
        Public Function GetDuration() As TimeSpan
            Return New System.TimeSpan(0)
        End Function
        Public Sub Close()
        End Sub
        Public Sub ShowProperties()
        End Sub
    End Class
End Namespace

something like that please ..... greetings thanks
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.