after adding purchaced controls and when I build advHMI i get this error , not sure what it means . red text is the 1st error line
Error 1 'MsgBox' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterH.vb 293 33 AdvancedHMIControls
Error 2 'MsgBox' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterH.vb 298 25 AdvancedHMIControls
Error 3 'MsgBox' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterH.vb 309 25 AdvancedHMIControls
Error 4 'Format' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterHoriz.vb 29 35 AdvancedHMIControls
Error 5 'InStr' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterHoriz.vb 35 20 AdvancedHMIControls
Error 6 'MsgBox' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterV.vb 294 33 AdvancedHMIControls
Error 7 'MsgBox' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterV.vb 299 25 AdvancedHMIControls
Error 8 'MsgBox' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterV.vb 310 25 AdvancedHMIControls
Error 9 'Format' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterVert.vb 29 35 AdvancedHMIControls
Error 10 'InStr' is not declared. It may be inaccessible due to its protection level. C:\! ! Advance HMI\HMI-V396-Building\AdvancedHMIControls\PurchasedControls\LinearMeterVert.vb 35 20 AdvancedHMIControls
Private Sub KeypadPopUp_ButtonClick(ByVal sender As Object, ByVal e As MfgControl.AdvancedHMI.Controls.KeyPadEventArgs)
If e.Key = "Quit" Then
KeypadPopUp.Visible = False
ElseIf e.Key = "Enter" Then
If m_CommComponent Is Nothing Then
DisplayError("CommComponent Property not set")
Else
If KeypadPopUp.Value <> "" Then
Try
If m_KeypadMaxValue <> m_KeypadMinValue Then
If KeypadPopUp.Value < m_KeypadMinValue Or KeypadPopUp.Value > m_KeypadMaxValue Then
MsgBox("Value must be >" & m_KeypadMinValue & " and <" & m_KeypadMaxValue)
Exit Sub
End If
End If
Catch ex As Exception
MsgBox("Failed to validate value. " & ex.Message)
Exit Sub
End Try