Results 1 to 17 of 17

Thread: Why Visual Basic?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Location
    Philippines
    Posts
    117

    Smile Why Visual Basic?

    in my project, i have to explain why i should use VB instead of other langauge, aside from it is easy to use, what other reasons i might include in my project? ill be using a server based project.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Why Visual Basic?

    Despite it's ease of use, VB6 is known for being a RAD language.
    It's easy to use for Rapid Application Development.
    It can interact with all popular databases, and can easily be deployed either by CD or over the Internet.

    Because it is being phased out, though, you might be better off talking about VB Net, which is it's successor. It shares few qualities of VB6, and requires the use of the Net Framework on all machines that run it. It can do more then VB6, though, and is more powerful.

  3. #3
    Lively Member
    Join Date
    Sep 2005
    Posts
    82

    Re: Why Visual Basic?

    Hi DG,

    I have my projects currently in VB6, if I think to upgrade my projects to VB.net,
    could you please tell me how much I have to make changes to my vb6 projects?

    Sanjay

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Why Visual Basic?

    VB6 projects are not compatible at all with VB.NET. VB.NET is not considered an upgrade from VB6, its a complete re-write of VB making it completely OOp. There is a VB6 to .NET converting wizard but it was never designed to be a 100% conversion tool. At best even MS states only a max of 95% for conversions.

    Your best bet is to do a complete re-write of your VB6 projects for several reasons. You get to learn the actual code needed, you get a chance to improve your code and logic, etc.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    Lively Member
    Join Date
    Sep 2005
    Posts
    82

    Re: Why Visual Basic?

    hmm.. you mean to say I must spend several months on my existing projects if I plan to switch to vb.net, and I still to start learn vb.net.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Why Visual Basic?

    The switch to .NET is steep but its well worth it. If your an experienced vb6 programmer and have a good grasp of OOP then it wont be that har at all.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Why Visual Basic?

    I have been using REALBasic by REALSoftware (www.realsoftware.com) for a month and I am impressed by how similar to VB6 it is in its syntax.

    I think REALBasic could be the real successor to VB6 in that the VB user won't have to make any effort to learn a new syntax. VB.NET, on the contrary, is a completely new language which has very little to do with its "pseudo-predecessor".

    The advantages a VB6 user may get by switching to REALBasic are enormous: he will be able to create stand-alone executables for Windows, Macintosh and Linux using the same code. So, your applications will require no runtime libraries and they will really be cross-platform.

    VB.NET is undoubtedly an enormous step forward, but I don't like the penetrability of managed byte-code (it's too easy to crack) and the need of a Framework that is too cumbersome. You can't ask your users to download a 20-MB "runtime" from the Internet to make your applications run. They would very likely switch to less problematic software.

    REALBaic is equipped with an external tool that facilitates the migration of VB6 forms to RB. Most of the code could even be cut and pasted since it is identical but there are, of course, minor differences.

    VB.NET looks much more complicated than VB6 and this prevents the majority of VB6 users from upgrading to it. The other serious reason that makes VB6 programmers stick to their old tool is what I call the "Framework hell". Presumably, the Framework will be upgraded every three years and, everytime a new version is released, you must check that there are no compatibility problems with your "old" managed code.

    Please explain to me why on earth I should use VB.NET to develop an application that I could also develop in VB 6.0/RB. In other words, why should I risk that some users may not be able to run it because they don't have the .NET Framework installed or some inexperienced hackers may reverse-engineer it in a couple of minutes?

    It seems to me more logical to say that .NET should only be used when the application you want to develop cannot be created with VB6 or REALBasic, simply because the latter tools are less problematic that the former one. So VB6/REALBasic should be preferred to VB.NET whenever your app does not need to rely on the Framework.

    Does anybody know any reasons why one should prefer VB.NET to REALBasic?

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Why Visual Basic?

    Moved.

  9. #9
    Lively Member
    Join Date
    Sep 2005
    Posts
    82

    Re: Why Visual Basic?

    What is more advanced in RealBasic than Visual Basic?

  10. #10
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Why Visual Basic?

    As I said: (1) creation of standalone executables, (2) real cross-platform compatibility (Windows, Macintosh, Linux) using the same code, (3) regular upgrades from RealSoftware (VB6 is a dead language instead).

    Quote Originally Posted by sanjaylimbikai
    What is more advanced in RealBasic than Visual Basic?

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Aug 2004
    Location
    Philippines
    Posts
    117

    Re: Why Visual Basic?

    are there anymore advantage does Visual basic have over other programming languages?

  12. #12
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Why Visual Basic?

    You might stress the user base, since it sounds like you are writing a justification. Maintenance of a program written in a well-established language is easier than maintenance in a peripheral language because it is easier to hire the skills you need.
    My usual boring signature: Nothing

  13. #13
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Why Visual Basic?

    I agree with you, so much so that I normally use VB6 for my applications. I only resort to REALbasic when I need to program for Linux and/or Macintosh.

    What I will never do is produce a shareware program with VB.NET: as I said, cracking it would be a piece of cake and I would lose all the potential customers who don't have the framework installed on their machines.

    Quote Originally Posted by Shaggy Hiker
    You might stress the user base, since it sounds like you are writing a justification. Maintenance of a program written in a well-established language is easier than maintenance in a peripheral language because it is easier to hire the skills you need.

  14. #14
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Why Visual Basic?

    The framework issue will go away....the cracking probably won't.

    VB6 requires a substantial runtime, as well, though not as big as .NET.
    My usual boring signature: Nothing

  15. #15
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Why Visual Basic?

    Backward compatibility of the .NET framework is not something you can take for granted. So, even though it is included in the next release of Windows, the problem will not be solved at all. You must always make sure that your customers are provided with the correct version.

    You are right about the VB6 runtime files. It is not by chance that many programmers prefer VB5 to VB6: MSVBVM50.DLL is present in the OS (from Win 98 on).

    Quote Originally Posted by Shaggy Hiker
    The framework issue will go away....the cracking probably won't.

    VB6 requires a substantial runtime, as well, though not as big as .NET.
    Last edited by esposito; Sep 27th, 2005 at 09:24 AM.

  16. #16
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Why Visual Basic?

    I'll buy that, but the promise was to get away from DLL Hell through this route. May not happen, though.
    My usual boring signature: Nothing

  17. #17
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Why Visual Basic?

    You can get rid of the DLL hell in VB.NET in that you don't have to register third-party components written in managed code. You have to cope with the .NET framework hell, though.

    Quote Originally Posted by Shaggy Hiker
    I'll buy that, but the promise was to get away from DLL Hell through this route. May not happen, though.

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