PHP Code:
Private Sub Button6_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Button6.Click
        Button6_MouseClick
(Button6, New MouseEventArgs(Windows.Forms.MouseButtons.Left21002000)) 
    
End Sub

    
    
Private Sub Button6_MouseClick(ByVal sender As ObjectByVal e As System.Windows.Forms.MouseEventArgsHandles Button6.MouseClick
        
If e.Button Windows.Forms.MouseButtons.Left AndAlso e.Clicks 2 Then ' if the e.Click has the value 2 -> click twice.
            '
doubble left click
        
End If
    
End Sub 
Why does this function not move the mouse to X100, Y200 and then doubble click?

Has it something to do with user32.dll/user64.dll?