Results 1 to 18 of 18

Thread: [RESOLVED] (vb 2005) Class Wizard?

  1. #1

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    Resolved [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?

  2. #2
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    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

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

  3. #3

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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?
    Last edited by rjbudz; Feb 7th, 2007 at 06:00 PM.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: (vb 2005) Class Wizard?

    Right-click your project, select View Class Diagram.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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!

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: (vb 2005) Class Wizard?

    what is your gripe with it?

  7. #7

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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.

  8. #8
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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.

  9. #9
    Frenzied Member vbdotnetboy's Avatar
    Join Date
    Jun 2004
    Location
    Lewisburg, PA "Next year Raiders in the Super Bowl"
    Posts
    1,310

    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

    Derek - Using VS 2008 99% of the time and VS 2003 1% of the time

    Please Help Us To Save Ana

    ● Helpful Links: DNR TV | Awesome site for tips | Using ADO.NET to work with Excel | Xml Namespace 2.0 Framework Changes|Ultra High Security Password Generator | Mendhak's ADO.NET Tutorial
    ● Code Bank: Random Password Generator | Generic DbProviderFactory Access
    ● Site Work: Bottle Run Xtreme | Spaids Racing.com

    Company I work for - CSSI

    WHEN POSTING PLEASE INDICATE VERSION

    Please use vbcode tags or code tags when posting code
    [highlight=vb]ALL your code goes here[/highlight] or [code]ALL your code goes here[/code]

    If my post helped you in anyway... please be kind and give me some ratings

  10. #10

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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!

  11. #11

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    Re: [RESOLVED] (vb 2005) Class Wizard?

    Thread Resolution: There is one: See Below.
    Last edited by rjbudz; Feb 12th, 2007 at 08:29 PM. Reason: Original post indicated there isn't one

  12. #12
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [RESOLVED] (vb 2005) Class Wizard?

    really? then what is this?
    Attached Images Attached Images  

  13. #13

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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:


  14. #14
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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"

  15. #15

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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!

  16. #16
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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.

  17. #17

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    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!"

  18. #18

    Thread Starter
    Hyperactive Member rjbudz's Avatar
    Join Date
    Jul 2005
    Location
    San Diego
    Posts
    262

    Re: [RESOLVED] (vb 2005) Class Wizard?

    Boy, I'm glad THAT'S over!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width