Welcome to RenEvo Sign in | Join | Help
in
Home Wiisis Blogs Forums Photos Downloads About

Difference between VB and VB.net ?

Last post 12-04-2006, 2:30 PM by Jary. 3 replies.
Sort Posts: Previous Next
  •  12-04-2006, 9:57 AM 288

    Difference between VB and VB.net ?

    Hi all,

     First of all, I have basic knowledge of VBA. I'm wondering what are the main differences between VB and VBA, appart the fact VBA is specialized for Office programs, and that VB is to make totally new applications/programs. Has VB a lot more keywords than VBA ? Or they are just different, and it's just the way to write it who changes ?

     Then, I'm wondering what's the difference between VB and VB.net, but there I totally have no idea, I have to admit.

     Finally, I'm wondering why you are using VB.Net rather than C++, or than VB. Can you briefly tell me the main advantages and disadvantages ?

    I thank you in advance.

    Jary

  •  12-04-2006, 10:03 AM 289 in reply to 288

    Re: Difference between VB and VB.net ?

    The wonderful thing about languages is, no matter how many versions they go through, the basic syntax remains the same.

    The keywords in vba still exist in vb.net, there are just more of them now.  VBA is a scripting language almost identical to VBScript while VB.Net is a full fledged OO (Object Orientated) language.  You can use inheritence, abstraction, interfaces, etc...

    There are some good articles on the web about the differences from vb6 to vb.net like this one

    http://www.vbdotnetheaven.com/Code/Apr2003/006.asp

    It goes over some of the basics from a vb6 programmers point of view.

    I hope that helps, any more questions, feel free to ask :)

     


    Advertising has us chasing cars and clothes, working jobs we hate so we can buy shit we don't need.
  •  12-04-2006, 10:07 AM 290 in reply to 288

    Re: Difference between VB and VB.net ?

    "Finally, I'm wondering why you are using VB.Net rather than C++, or than VB. Can you briefly tell me the main advantages and disadvantages ?"

    For me, i program daily in .Net, be it c# or vb, it really depends on the project i am currently working on.  I decided to go with .Net due to its Rapid Development.  If i need a thread, its 3 lines of code, if i need to make a UDP connection, its 6 lines of code, etc...  There isn't a lot of overhead in the loading and unloading of objects, its handled by the garbage collection, where as in c++ you need to handle memory manually.

    The downside?  C++ is a faster executing language, it doesn't have that overhead that .Net has, but takes longer to do common tasks due to the amount of coding to say, present a form with a button on it that displays a message box. (yes, you can use mfc, or another alternative, but at that point you are just making it as slow as .Net).

    For now, its about choice, i wanted to develop an emulator quickly and didn't mind the slightly larger memory foot print.


    Advertising has us chasing cars and clothes, working jobs we hate so we can buy shit we don't need.
  •  12-04-2006, 2:30 PM 293 in reply to 290

    Re: Difference between VB and VB.net ?

    Thanks Dante, you answered my questions, as I was hoping. Thanks a lot :-)
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems