[RESOLVED] (vb 2005) Class Wizard?
I'm trying to learn VB.NET 2005. I'm a classic VB6 coder. I want to create a new class. VB6 provided a Class Wizard to make it easier (creating get-sets, initializers, destuctors, etc).
Why would there not be such a thing in the New&Improved VB? Isn't the idea to make life BETTER for us programmers?
Re: (vb 2005) Class Wizard?
depending on if you are using the express version or not and i'm assuming your not but there is a item that you add to your project call ClassDiagram which does pretty much the same thing that the class wizard did, but it's going to take some getting use to
Re: (vb 2005) Class Wizard?
Thank you. I'm using the Professional Edition.
VB 2005 takes some getting used to! I've have to start someplace!
Er.. You wouldn't know how I might go about actually getting to it, do you?
Re: (vb 2005) Class Wizard?
Right-click your project, select View Class Diagram.
Re: (vb 2005) Class Wizard?
Quote:
Originally Posted by vbdotnetboy
...call ClassDiagram which does pretty much the same thing ...
Not really... It's Apples & Oranges. This is Microsoft's attempt to make things BETTER? I am SO not impressed!
Re: (vb 2005) Class Wizard?
what is your gripe with it?
Re: (vb 2005) Class Wizard?
Not really a grip that anyone can help with. Mere frustration is all. Transition to the new VB language (even with knowledge of C++ and Java) is difficult enough without having the IDE completely revamped as well.
Again, nothing anyone can really help with. Please take no offence.
Re: (vb 2005) Class Wizard?
I didn't make .NET so I don't take any offense. I just figured if there was a specific issue you saw that made it worse than VB6, then youl could mention it, and some members may have some insight for you.
I came from VB6 as well, and to be honest I never want to open VB6 EVER!
I don't even like coding in .NET 2003 anymore, because the .NET 2005 IDE is so great.
Like anything else there is a learning curve to make the move, but its well worth it.
Re: (vb 2005) Class Wizard?
Quote:
Originally Posted by kleinma
I didn't make .NET so I don't take any offense. I just figured if there was a specific issue you saw that made it worse than VB6, then youl could mention it, and some members may have some insight for you.
I came from VB6 as well, and to be honest I never want to open VB6 EVER!
I don't even like coding in .NET 2003 anymore, because the .NET 2005 IDE is so great.
Like anything else there is a learning curve to make the move, but its well worth it.
well put and i agree with you 100%. i too came from vb6 and i can't stand to think of opening it for old projects and even projects in the 2003 IDE i can't stand dealing with. there were a few performance issues with the 2005 version but now that sp1 is out it seems much more stable
Re: (vb 2005) Class Wizard?
Thanks guys. I look forward to the day when I can say the same about VB6 and the major learning hurdles are behind me.
Meanwhile I know JUST the right guys to barrage with all my questions! :bigyello:
Re: [RESOLVED] (vb 2005) Class Wizard?
Thread Resolution: There is one: See Below.
1 Attachment(s)
Re: [RESOLVED] (vb 2005) Class Wizard?
really? then what is this?
Re: [RESOLVED] (vb 2005) Class Wizard?
Ok. I stand corrected. Assuming I can make that fuctionality work.
So, can you walk me through how - exactly- to get there. This is where I am:
http://www.rjbudz.net/classDiagram.bmp
Re: [RESOLVED] (vb 2005) Class Wizard?
yeah, it looks like you are almost there.
see where in your screenshot it says "immediate window" at the bottom?
click on the tab next to that, the one that says "class details" that is the menu I posted my screenshot of.
From there you can easily add methods, properties, fields, and events, easily pick their datatypes (it even support intellisense), their access modifier (public, private, etc.) and even enter summary or choose to hide them.
There are other options to the left of the grid (like making constructors, constants, etc) so play around a little to figure out all the features and capabilities.
After you are done using this "wizard" if you go to your class code, you will see the code has auto generated for you based on what you did in the "wizard"
Re: [RESOLVED] (vb 2005) Class Wizard?
Thank you. I stand corrected, and have edited my above post accordingly. As vbdotnetboy stated earlier, this will take a while to get used to, but it IS doable.
Thanks!
Re: [RESOLVED] (vb 2005) Class Wizard?
Yeah, as with any new release comes some learning curve, but after using it a bit, there is a good chance you will never want to program in VB6 again.
Re: [RESOLVED] (vb 2005) Class Wizard?
Regarding this learning curve/comfort level,
I look forward to the day
when I can look back on today
and say
"Boy, am I glad that's over!" ;)
Re: [RESOLVED] (vb 2005) Class Wizard?
Boy, I'm glad THAT'S over!