Try this test and let me know the results:
- In Solution Explorer, right click the AdvancedHMI project and select Add->Class
- Give it the name Test
- Add the code , so the new file looks like this:
Public Class Test
Inherits Control
Public Property IPAddress As String
Get
Return Process.GetCurrentProcess().ProcessName
End Get
Set(value As String)
End Set
End Property
End Class
- Build the Project
- Open MainForm.vb
- In the ToolBox, you will see Test
- Add a Test to the form
- Look in the Properties Window and see what it shows for IPAddress
- Let me know what that value shows