Teamviewer, Brumm Brumm

This commit is contained in:
ms
2019-11-07 12:53:13 +01:00
parent 0b0d0f9538
commit 8e7fc09e45
10 changed files with 149 additions and 28 deletions

View File

@@ -63,4 +63,18 @@
End Try
End Function
Public Shared Function StartTeamviewer(ID As String, Optional Passwort As String = "BmWr501956")
If Passwort.Length < 1 Then
Passwort = "BmWr501956"
End If
Dim teamviewer As New Process
With teamviewer.StartInfo
.FileName = "Teamviewer.exe"
.WorkingDirectory = "C:\Program Files (x86)\TeamViewer"
.Arguments = "-i " & ID & " -P " & Passwort
End With
teamviewer.Start()
End Function
End Class