Results 1 to 15 of 15

Thread: Difference

  1. #1

    Thread Starter
    Member
    Join Date
    May 2004
    Location
    Dubai, United Arab Emirates
    Posts
    33

    Difference

    Hi,

    What is the difference between Visual Basic (VB) and Visual Basic.net (VB.net).


    Thanks for explaining.

    Best Regards,

    S h a n

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Allow me to quote.

    The differences between VB6 and VB.NET transcend the languages. VB.NET is part of a brand new platform, based on the .NET Framework. All languages in .NET are based on this new platform, which allows many great new capabilities for a VB developer. Because the .NET Framework is fully object-oriented, .NET languages also must support OO features. The result is that VB.NET is fully object-oriented. This is a huge difference and is a powerful improvement over previous version of VB. It also introduces another level of complexity along with this new power.

    In many ways, VB.NET can be seen as an entirely new language. Oh, much of the syntax is still there, and yes, much of it has changed. But the real differences in VB.NET are in the way we accomplish various tasks. Everything is done through the .NET Framework. All .NET languages use the same .NET classes - C#, VB, COBOL, J#, etc. In short, from a language perspective, much of the syntax will be familiar, but the way to accomplish things has changed dramatically.

    From a platform perspective, there are many advantages to .NET over COM+. First and foremost in my mind is the end DLL hell. In .NET, assemblies (analogous to executables in COM), need not be registered with RegSvr32. .NET uses the concept of namespaces. This makes deployment a breeze! In most instances, simply copying files to a destination is all that is needed to complete a deployment. Various application settings can be stored in XML config files which also makes things a bit simpler.

    There are many other advantages to .NET:

    * Full object-oriented capabilities
    * An incredible IDE
    * Cross-language inheritance
    * Real VB (or C#, etc) in ASP.NET, not VBScript
    * Web service tools
    * One way to do things, no matter what .NET language you are using

  3. #3

    Thread Starter
    Member
    Join Date
    May 2004
    Location
    Dubai, United Arab Emirates
    Posts
    33
    Thanks very much for your reply.

    I need to ask you that can a beginner, who doesn't have VB 6 or VB.net idea, should he start with VB or VB.net.

    I am not asking what should i start with, i need to know if a person can start with VB.net not having an idea of VB 6 as you mentioned that VB.net is better.

    Are all the features of VB.net available in VB 6 ?

    Please help in this regard.

    Best Regards,

    S h a n

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    IMEO, there's a slight problem: Finding the book to start with. Because a lot of the books I've seen constantly refer to VB6, and what's changed in VB.NET as they're teaching.

    Someone here could reccommend a good book, perhaps, that doesn't go this way, or you could just ignore those parts, that shouldn't be very distracting.

    So, to answer your question, yes, it's very possible.

  5. #5
    Hyperactive Member
    Join Date
    Mar 2004
    Location
    Prato - Tuscany - Italy
    Posts
    461
    Dear Just Shan, I started in Vb.NET coming from Assembler for microcontrollers/microprocessor. I worked a little in GWBASIC!
    For two months, I used VBA, before to decide it was not enough for what I wanted to do and so I jumped to VB.NET. So, I'm pratically a newbie of any kind of Visual Language, or OOP language, who dares to start with VB.NET
    Mendhak said all right things, I think, also the last one: It's possible to start with VB.NET!
    Two friends of mine, experienced in VB6, actually refuse to jump to VB.NET, because they are already able to do what actually need and It seems to them they waste their experience changing for VB.NET.....they say: VB.NET is good for someone who start from nothing, not for someone who is experienced in VB6

    I don't agree with them, but I think we have to admit that VB.NET is not a kind of VB7. Many VB6 programmers, if not the most of them, remain on their platform. So don't worry too much. Do the right thing, that I think is to start in VB.NET.
    Live long and prosper (Mr. Spock)

  6. #6
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    VB6 sucks and VB.net (aka VB7) doesnt

    OOP is such a massively handy tool.
    I don't live here any more.

  7. #7
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    Hi Justshan

    "I am not asking what should i start with, i need to know if a person can start with VB.net not having an idea of VB 6 as you mentioned that VB.net is better.

    Are all the features of VB.net available in VB 6 ?"


    If you jump straight into VB.NET you will definitely have an advantage over those of us who came up through VB6 etc. Many errors arise from being slow to forget the VB6 approach.

    Several features in VB6 are not available in VB.NET if they are unnecessary. You can achieve anything in VB.NET which you could in VB6, all be it in a different way. Printing hard copy is the most difficult change.

    I believe the best absolute beginner's book is Sams Teach Yourself Microsoft Visual Basic.NET 2003, by James Foxall; ISBN 0-672-32537-3. He has a web site to deal with learner's queries where answers are prompt. (and he has disounted copies available ) www.jamesfoxall.com

    I stress that it is a BEGINNER'S book

    Best of luck.
    Last edited by taxes; May 19th, 2004 at 11:21 AM.
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  8. #8

    Thread Starter
    Member
    Join Date
    May 2004
    Location
    Dubai, United Arab Emirates
    Posts
    33

    Smile

    RESOLVED

    Thanks you all of you very much.

    Best Regards,

    S h a n

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    taxes:

    I've noticed for some time now that you're copying and pasting when wanting to quote someone.

    You can find a "quote" button at the bottom right hand corner of a post. Use that.

  10. #10
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    Hi Mendhak,

    Thanks. I will use that in future if I want to use the entire quote, but sometimes I want to zero on one point of a post.


    Hi JustShan,

    To mark the thread "Resolved" go to your first post; Edit; and then add "Resolved" to the thread title.
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  11. #11
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Originally posted by taxes
    Thanks. I will use that in future if I want to use the entire quote, but sometimes I want to zero on one point of a post.
    it puts the text into your new post for you, so you can just cut the pieces you dont want. it's easier to do, and easier to read

  12. #12
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by si_the_geek
    you can call me your hoochi-mama
    And you can edit what other people say as well.

  13. #13
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    Originally posted by mendhak
    And you can edit what other people say as well.

    Hey, can I get one of these fitted to my wife ?
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  14. #14
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Originally posted by taxes
    Hey, can I get one of these: fitted to my wife ?




  15. #15
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

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