Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Visual Basic 6

Visual Basic 6

Scheduled Pinned Locked Moved Visual Basic
19 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G goldenrose9

    C# and VB.net applications can easily be decompiled. Is there any way to protect the application made in .net from decompilation.

    gold

    T Offline
    T Offline
    The Man from U N C L E
    wrote on last edited by
    #6

    there are obfustication tools available to hide your code. DotFusticator Community edition is bundled with Visual Studio. As wit all such tools, some are free, and will stop the casual code thief, after that you pay for what you get.

    If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

    1 Reply Last reply
    0
    • L Lost User

      I don't know the specifics, as far as I remember VB6 runtime should be included with weven / 7 / windows vista whatever the hell it is now, but they have said it is a dead, unsupported language. Time to port to .net my friend.

      Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #7

      EliottA wrote:

      whatever the hell

      I like it :)

      1 Reply Last reply
      0
      • C Christian Graus

        VB6 is rubbish. Why on earth would you still be using it ? It's been a dead language for almost a decade.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #8

        Christian Graus wrote:

        VB6 is rubbish

        You've probably not used VB6 in your life.

        C D 2 Replies Last reply
        0
        • L Lost User

          Christian Graus wrote:

          VB6 is rubbish

          You've probably not used VB6 in your life.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #9

          Sadly, I have. And Microsoft agrees with me, that's why they killed it. VB.NET was going to be a lot LESS like VB6, before all the VB6 retards jumped up and down. They knew it was beyond redemption and set out to start again.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          L 1 Reply Last reply
          0
          • L Lost User

            Christian Graus wrote:

            VB6 is rubbish

            You've probably not used VB6 in your life.

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #10

            Yes, he has, as so have I. It is garbage compared to .NET.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008
            But no longer in 2009...

            L G 2 Replies Last reply
            0
            • C Christian Graus

              Sadly, I have. And Microsoft agrees with me, that's why they killed it. VB.NET was going to be a lot LESS like VB6, before all the VB6 retards jumped up and down. They knew it was beyond redemption and set out to start again.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #11

              Microsoft made a good decision to start everything from scratch. Apart from the basic language syntax, everything is different in VB.NET, adding to this was the unhelpful MSDN which made the transition for VB6 programmers a really tough one. That is why many programmers were reluctant to switch over to VB.NET (and consequently to .NET) Despite all this, IMHO, I still feel that VB6 was not bad enough to be called "rubbish". If you consider pre-.NET era alone, you would appreciate why I made this point.

              C D 2 Replies Last reply
              0
              • D Dave Kreskowiak

                Yes, he has, as so have I. It is garbage compared to .NET.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008
                But no longer in 2009...

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #12

                Dave Kreskowiak wrote:

                It is garbage compared to .NET.

                I wouldn't agree with you although I admit that it was a lot "less" than .NET that a comparison itself is not warranted. But most people will agree with me that in the pre-.NET era, we did not have many choice as far as RAD tools were concerned.

                C D 2 Replies Last reply
                0
                • L Lost User

                  Microsoft made a good decision to start everything from scratch. Apart from the basic language syntax, everything is different in VB.NET, adding to this was the unhelpful MSDN which made the transition for VB6 programmers a really tough one. That is why many programmers were reluctant to switch over to VB.NET (and consequently to .NET) Despite all this, IMHO, I still feel that VB6 was not bad enough to be called "rubbish". If you consider pre-.NET era alone, you would appreciate why I made this point.

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #13

                  VB6 was only ever useful for people who wrote apps in a very narrow band, and for people who could make up the shortfall by using C++ COM dlls to do the real work.

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  1 Reply Last reply
                  0
                  • L Lost User

                    Dave Kreskowiak wrote:

                    It is garbage compared to .NET.

                    I wouldn't agree with you although I admit that it was a lot "less" than .NET that a comparison itself is not warranted. But most people will agree with me that in the pre-.NET era, we did not have many choice as far as RAD tools were concerned.

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #14

                    Shameel wrote:

                    But most people will agree with me that in the pre-.NET era, we did not have many choice as far as RAD tools were concerned.

                    Yes, pre .NET the basic choice was RAD or real programming.

                    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                    1 Reply Last reply
                    0
                    • L Lost User

                      Microsoft made a good decision to start everything from scratch. Apart from the basic language syntax, everything is different in VB.NET, adding to this was the unhelpful MSDN which made the transition for VB6 programmers a really tough one. That is why many programmers were reluctant to switch over to VB.NET (and consequently to .NET) Despite all this, IMHO, I still feel that VB6 was not bad enough to be called "rubbish". If you consider pre-.NET era alone, you would appreciate why I made this point.

                      D Offline
                      D Offline
                      Dave Kreskowiak
                      wrote on last edited by
                      #15

                      Shameel wrote:

                      That is why many programmers were reluctant to switch over to VB.NET (and consequently to .NET)

                      No, not really. The switch was never made because businesses didn't want to spend the money on rewriting apps that were already written in VB6 and worked.

                      Shameel wrote:

                      Despite all this, IMHO, I still feel that VB6 was not bad enough to be called "rubbish". If you consider pre-.NET era alone, you would appreciate why I made this point

                      Yeah, it's still garbage because it used error handling constructs that were 15 years old at the time, had very limited support OOP concepts, terrible interoperability support with native functions of Win32 and third party libraries, and limited support with everything else "Windows".

                      A guide to posting questions on CodeProject[^]
                      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                           2006, 2007, 2008
                      But no longer in 2009...

                      1 Reply Last reply
                      0
                      • L Lost User

                        Dave Kreskowiak wrote:

                        It is garbage compared to .NET.

                        I wouldn't agree with you although I admit that it was a lot "less" than .NET that a comparison itself is not warranted. But most people will agree with me that in the pre-.NET era, we did not have many choice as far as RAD tools were concerned.

                        D Offline
                        D Offline
                        Dave Kreskowiak
                        wrote on last edited by
                        #16

                        Oh, you mean C, C++, Delphi, PowerBuilder, Java, ...

                        A guide to posting questions on CodeProject[^]
                        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                             2006, 2007, 2008
                        But no longer in 2009...

                        1 Reply Last reply
                        0
                        • D Dave Kreskowiak

                          Yes, he has, as so have I. It is garbage compared to .NET.

                          A guide to posting questions on CodeProject[^]
                          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                               2006, 2007, 2008
                          But no longer in 2009...

                          G Offline
                          G Offline
                          goldenrose9
                          wrote on last edited by
                          #17

                          :confused::confused::confused:VB6 is not a garbage. vb6 applications cannot be fully & easily decompiled, whereas .NET Applications can be easily decompiled to get the original source code. We have to use some third party expensive Obfustication tools for protecting our code. Although Obfustication does not protect the code completely. Even after Obfustication the code is decompiled. Source: Google.:confused::confused::confused:

                          gold

                          L D 2 Replies Last reply
                          0
                          • G goldenrose9

                            :confused::confused::confused:VB6 is not a garbage. vb6 applications cannot be fully & easily decompiled, whereas .NET Applications can be easily decompiled to get the original source code. We have to use some third party expensive Obfustication tools for protecting our code. Although Obfustication does not protect the code completely. Even after Obfustication the code is decompiled. Source: Google.:confused::confused::confused:

                            gold

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #18

                            So learn C++, what do you want, this is a choice you make when designing an application, not when already writing one.

                            Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

                            1 Reply Last reply
                            0
                            • G goldenrose9

                              :confused::confused::confused:VB6 is not a garbage. vb6 applications cannot be fully & easily decompiled, whereas .NET Applications can be easily decompiled to get the original source code. We have to use some third party expensive Obfustication tools for protecting our code. Although Obfustication does not protect the code completely. Even after Obfustication the code is decompiled. Source: Google.:confused::confused::confused:

                              gold

                              D Offline
                              D Offline
                              Dave Kreskowiak
                              wrote on last edited by
                              #19

                              So you really want to put up with poor contructs and design restrictions to gain code protection? That's all?? You don't have to protect your entire codebase in an application. You really only need to protect business logic and data access. The rest is just UI stuff that really doesn't need protection. If it's that damn critical, you've even have to obfuscate the VB6 code. Face it, ANY code can be decompiled back to some form that is usable by a hacker. So what if they can't get the VB6 source back, they can still use a C equivilent that a decompiler can output of your VB6 app. And yes, there are tools out there that will defeat .NET Reflector. IMHO, what you gain from .NET greatly outweighs the "protection" you get when using VB6.

                              A guide to posting questions on CodeProject[^]
                              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                                   2006, 2007, 2008
                              But no longer in 2009...

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups