- In Solution Explorer, expand down the AdvancedHMIControl project
- Under AdvancedHMIControl, expand dowm the Controls folder
- Right click BasicLabel.vb and select View Code
- Modify the SubscribeToComDriver routine as show here:
Private Sub SubscribeToComDriver()
If Not DesignMode And IsHandleCreated Then
'* Create a subscription handler object
If SubScriptions Is Nothing Then
SubScriptions = New SubscriptionHandler
SubScriptions.Parent = Me
AddHandler SubScriptions.DisplayError, AddressOf DisplaySubscribeError
End If
SubScriptions.ComComponent = m_ComComponent
SubScriptions.SubscribeAutoProperties()
End If
End Sub