I am trying to Perform Click using VB.Net code to Click Basic Button (Advanced HMI) .
'Set up another button to Click Button BT!, which is windows button and it works fine.
Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Me.BT1.PerformClick()
End Sub
When I try it on AdvancedHMI button it does not work.
btbStop is PLC stop button.
I want to use the Click to change bits in PLC. Thus if I can activated Button in code, I can make it work.
Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Me.btbStop.PerformClick()
End Sub
Any Ideas.
Thanks