Results 1 to 11 of 11

Thread: Vb.net Horror

  1. #1
    Jordan
    Guest

    Vb.net Horror

    I recently updated my large project from VB6 to VB.NET (Beta 2). Before updating, my project compiled perfectly and was free of runtime errors. This is what VB.NET does to a large VB6 project:

    318 Errors
    1710 Warnings
    2028 Total Issues


    Given those numbers... I think I'll stick with VB6, at least for now.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    MS is expecting us to rewrite VB6 apps to .Net. It's not really backwards compatible.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    It's more than "not really backward compatible"!
    It isn't backward compatible at all.
    You can use the upgrade wizard if you like, but it wont create VB.Net code for you.
    What it does is create some code that might be backward compatible by cheating...
    First of all there is no way you can use the Clipboard object, or any graphic methods you are use to....
    Actually you should forget everything you know about graphics methods in VB 6!!!

    The Err object is also discarded!! So is all code using an On Error code.
    To be on honest you just can't rely on your old code at all.

  4. #4
    Lively Member
    Join Date
    Aug 1999
    Location
    Amsterdam
    Posts
    117
    Actually it does apply for ActiveX Controls aswell.
    It will just use COM interop aswell.

    If you want to use a ActiveX Control on a WinForm just right-click on the Toolbox, click "Customize Toolbox, there is a list of all Controls or you can browse for them.

  5. #5
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    cool!
    -scott
    he he he

  6. #6
    Member vbAngel's Avatar
    Join Date
    Jul 2001
    Location
    somewhere around I'm sure
    Posts
    48
    So, being quite new to vb6, should I drop it & get started on .net or stick with vb6.
    Is .net really the future?
    The END!

  7. #7
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    Yep!

    Experienced the same while trying to upgrade my VB6.0 project to VB.NET. So what really does the upgrade wizard do???

  8. #8
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Originally posted by vbAngel
    So, being quite new to vb6, should I drop it & get started on .net or stick with vb6.
    Is .net really the future?
    I truely believe that .Net is the future.
    But it will be a distant future before Microsoft has implemented the .Net framework in all of it's products so stick to VB6 while you learn VB.Net or/and C#.
    VB6 and VS6 will still be sold and supported by Microsoft after the release of VS.Net in February.

    BTW
    dylanmendes If you want to use my avitar you should ask me kindly first

  9. #9
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    May I?

    hey joacim,

    *sheepish* sorry'bout the avatar thing!!! was just checking out how the u[loading icon works and your swas the nearest one i could find...

    cheers,
    d

  10. #10
    NicoVB
    Guest

    RE

    I also think .NET IS the future!! Certainly! But there are many changes, and if you want to upgrade a project to .NET there are many issues. I would look at your code, and see what's wrong with it.

    Maybe you have maid every time the same 'mistake'.

    My best regards.

    (please leave your ICQ-number or your MSN-adress)

  11. #11
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    Originally posted by Joacim Andersson
    It's more than "not really backward compatible"!

    ... So is all code using an On Error code.


    And the crowd go wild!



    td.
    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

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