Using windowsform: "Computer is not a member of My" Error in .NET on newest questions tagged winforms – Stack Overflow

This error is exceptionally annoying. I’ve done various searches, and have been able to fix this issue. I am one of several developers on the application and the only one with the issue. I’ve fixed it before temporarily by adding an extension to the My Extensions panel in the project’s properties (which generates a different error) and then removing that new extension. That made the error go away. Flaky, eh?

Anyway:

If Not My.Computer.Network.IsAvailable Then
    ISConnectedToNetwork = False
    ...
End If

Gives the error:

‘Computer’ is not a member of ‘My’.

Clarification Edit: This is in .NET 2.0.

See Answers


source: http://stackoverflow.com/questions/5238213/computer-is-not-a-member-of-my-error-in-net
Using windowsform: using-windowsform



online applications demo