Results 1 to 8 of 8

Thread: What can you tell me about the difference

  1. #1

    Thread Starter
    PowerPoster JPnyc's Avatar
    Join Date
    Oct 2002
    Location
    Manhattan
    Posts
    3,015

    What can you tell me about the difference

    between VB and VB.net? I have experience with VB6, and also with other OOLs such as Java, but I've never touched .net at all. Any warnings, advice, pointers (did I say pointers ? ACK!), you'd care to pass on, like basic structural and syntactic differences? Thanks in advance.

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Millbrae, CA
    Posts
    48
    Google

  3. #3
    Fanatic Member JPicasso's Avatar
    Join Date
    Aug 2001
    Location
    Kalamazoo, MI
    Posts
    843
    .Net looks cooler on your resume.
    Merry Christmas

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    On a more serious note, .NET is much more Object Oriented than VB6. There's additions to the language, such as tha Try...Catch...Finaly block for error handling. Everything is now an object, no more using Set. Numerical alignment is now in line with other languages. What was an Integer in VB6 is now a Short, and waht used to be Long is now Int.

    There's a number of changes, but nothing so Earth shattering that you couldn't pick it up fairly easily. One of the biggest changes I've seen people have problems with comes when dealing with forms. You used to be be able to create a form in the project and just use it directly. Form1.Caption ="My Caption".... now, you have to create an instance of the form before you can use it. Dim frm1 As Form1 .... frm1 = New Form1 ... frm1.Caption = 'My Caption"

    TG
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961

  6. #6

    Thread Starter
    PowerPoster JPnyc's Avatar
    Join Date
    Oct 2002
    Location
    Manhattan
    Posts
    3,015
    Ah, that's too bad. That's what I find annoying about other OOLs. Use objects when it's more convenient, but sometimes making a simple method that should be ubiquitous, into a whole class that must be instantiated is just a pointless pain. I suppose there's a timer class now too? Does .net require over-riding methods that you're not using like Java?

  7. #7
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552
    .net is java-like. you can also create static methods with regards to non-instantiating objects. like System.out.println() and console.writeline(). writeline() and println() are static methods. need not to be instantiated. it offers pure oop. overriding, overloading. blah blah. like java. though it has overrides/overloads, blah blah again. hehehe.

  8. #8
    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 DUNSEL
    Ah, that's too bad. That's what I find annoying about other OOLs. Use objects when it's more convenient, but sometimes making a simple method that should be ubiquitous, into a whole class that must be instantiated is just a pointless pain. I suppose there's a timer class now too? Does .net require over-riding methods that you're not using like Java?
    Look at it this way:

    VB.NET is like Java in many ways, except that it pwnz Java and could use it to wipe my room's floor.

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