How do I create an instance of a class. Where would i do this. I recived a recommindation where they instruct me to create an instance of the class and I have no idea what they are talking about...
If you are in the project manager,
1. Drop a control on a blank form..Example textbox
2. Format the control as desired..Example change font
3. Make sure the control is selected
4. Go to File> Save as class
5. Save the selected control to the desired folder in your project (I always have an empty "LIB" folder in each project structure)
6. go to the "Classes" tab in your project and add the class
to the project.
In the command window type CREATE CLASS
A Window pops up and need three things, the name of the class and where you want to save to (or in what class library you want to save it if you specify one that already exists) and the type of class it will be.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.