Need to make sure you’ve added the reference, as well as set the types you’re trying to access to public. Once this is done, you should make using
references where appropriate, otherwise you’ll need to specify the entire namespace address each time you reference it.
See Namespaces in Visual Basic and look over the code you generated to figure out what those Namespace names are.
solved VB Net Class in C# [closed]