Hallo Archie,
i have tray this:
Private Sub DataSubscriber1_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber1.DataChanged
If DataSubscriber1.Value = "1" Then
My.Computer.Audio.Play("c:\Advanced HMI 2\AdvancedHMI\Resources\Alarm.wav")
End If
End Sub
but is no Sound playing after change the value from 0 to 1 :-(
THX
Steffen