I've worked with VBA a fair bit, but I'm fumbling around with getting VB .net to work.
I can't get my class to be recognized in my main form nor can I get the Debug.Print statement to be recognized in the class.
I have a project with MainForm.vb. In the Project menu I chose to Add Class, which I assumed would automatically be added to the project, though I realize I may need an Imports statement. In my new class Rtu (in file Rtu.vb), I defined both public methods and constants as well as private ones. However, the Debug.Print statement is not recognized. I thougth maybe I needed an additional reference, but when I go to the Projects menu it doesn't even seem to recognize Rtu as part of the main project. Is that a simple Imports statement? I have the same imports in Mainform.vb as in my class, and debug.print is recognized there.
When I go to my MainForm.vb, I tried both 'Imports Rtu' and 'Imports Rtu.Rtu' and variations, but it doesn't like that.