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. Windows Development
  4. VB5 on WIndows 10

VB5 on WIndows 10

Scheduled Pinned Locked Moved Windows Development
csharpquestion
18 Posts 6 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.
  • P Pete OHanlon

    This is a highly unusual scenario. I'd suggest setting W10 on a VM and then installing VB5 on top there. That way, you can test to see whether or not the configuration will work together.

    W Offline
    W Offline
    Wombaticus
    wrote on last edited by
    #7

    Yes, good idea - but I can't figure out how to get hold of the required product key if doing a clean install onto a VM...

    1 Reply Last reply
    0
    • W Wombaticus

      As I said, it's an old application I wrote for a client way back in the early 90's which I still need to maintain occassionally. It was originally written in VB3, but apart form a minor update to VB5 in the mid 90's has remined pretty much teh same, and is still in use to day - a fact I am ever so slightly proud of :) Of course it should be rewritten for a modern OS, but it's no small task, and the client likes it as is, so there is a certain amount of "if it ain't broke, don't fix it" going on. It will have to eb done day, but in the meantime....

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

      Then the client should not switch operating system. If the OS updates and he breaks the application, then it IS broken.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      M 1 Reply Last reply
      0
      • P Pete OHanlon

        This is a highly unusual scenario. I'd suggest setting W10 on a VM and then installing VB5 on top there. That way, you can test to see whether or not the configuration will work together.

        W Offline
        W Offline
        Wombaticus
        wrote on last edited by
        #9

        Sorry if this si impertinent, to ask a follow-up question like this, but I wonder if you mght know this: The difficulty with installing W10 in a VM is that it won't recognise it as a free upgrade from my W7, so will ask for a product key - which I don't have (or would need to buy.) But it occurs to me that I could instead go for the W10 upgrade and then, if necessary, re-install W7 in a VM on the same machine... the querstion then is: would it let me? Or would it tell me that the W7 product key has akready been used? As it'd be the same physical machine perhaps it would... but being a VM, maybe it won't... i.e. can one re-use a Windows product key on a VM on the same box as the orginal OS was installed?

        P 1 Reply Last reply
        0
        • W Wombaticus

          Does anyone know if there are any issues installing/running VB5 on Windows 10? Every time I try and Google this I only find articles relating to VB6. I have an old legacy program in VB5 I need to maintain (until I finally get round to rewriting it in .NET... or, should I say, the client finally decides to pay me to...)

          M Offline
          M Offline
          MatthysDT
          wrote on last edited by
          #10

          I know you want info on VB5 specifically, but have you just tried installing it? (Or perhaps copy an installed directory from another older PC) I had VB6 installed on Win8.1 and after the upgrade to 10 it still works like a charm, had no problems. Screenshot[^]

          W 1 Reply Last reply
          0
          • L Lost User

            Then the client should not switch operating system. If the OS updates and he breaks the application, then it IS broken.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

            M Offline
            M Offline
            MatthysDT
            wrote on last edited by
            #11

            I think the coder is the one who wants to switch in this case, and the IDE's compatibility is the primary concern. That client doesn't particularly sound like the sort of person who's likely to have ever ventured beyond windows XP. :-)

            L 1 Reply Last reply
            0
            • M MatthysDT

              I think the coder is the one who wants to switch in this case, and the IDE's compatibility is the primary concern. That client doesn't particularly sound like the sort of person who's likely to have ever ventured beyond windows XP. :-)

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

              The coder is heading for problems; an unsupported IDE on an OS that was created years later. It is not just that it will be a 32-bit environment in a 64-bit OS, there will be more recent versions of COM-controls, something VB leans on. Those would be different on XP, generating a error if not compiled on XP. "Unsupported" really means it could stop working tomorrow. It is never a good strategy to build on something that can be gone tomorrow.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

              W 1 Reply Last reply
              0
              • M MatthysDT

                I know you want info on VB5 specifically, but have you just tried installing it? (Or perhaps copy an installed directory from another older PC) I had VB6 installed on Win8.1 and after the upgrade to 10 it still works like a charm, had no problems. Screenshot[^]

                W Offline
                W Offline
                Wombaticus
                wrote on last edited by
                #13

                Well, that's the obvious thing - but I don't want to risk upgrading and then finding VB5 won't run. Mind you, I believe the W10 upgrade offers a rollback to W7 if wanted, so I guess I could just go that route...

                M 1 Reply Last reply
                0
                • L Lost User

                  The coder is heading for problems; an unsupported IDE on an OS that was created years later. It is not just that it will be a 32-bit environment in a 64-bit OS, there will be more recent versions of COM-controls, something VB leans on. Those would be different on XP, generating a error if not compiled on XP. "Unsupported" really means it could stop working tomorrow. It is never a good strategy to build on something that can be gone tomorrow.

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                  W Offline
                  W Offline
                  Wombaticus
                  wrote on last edited by
                  #14

                  Yes, you're right, and I realise this - but it's a large job to re-write the code, and I don't feel like doing it for free. So until the client is prepared to fork out for it, we'll just have to struggle on with the current code. As the earlier poster pointed out, this client is a tech dinosaur... I have pointed out to them the dangers of the path they are currently on.

                  L 1 Reply Last reply
                  0
                  • W Wombaticus

                    Well, that's the obvious thing - but I don't want to risk upgrading and then finding VB5 won't run. Mind you, I believe the W10 upgrade offers a rollback to W7 if wanted, so I guess I could just go that route...

                    M Offline
                    M Offline
                    MatthysDT
                    wrote on last edited by
                    #15

                    Personally, I didn't trust that roll-back feature and would strongly suggest you make a disk image ( Clonezilla[^] ) before upgrading if you want to be certain that the rollback is 100% effective.

                    1 Reply Last reply
                    0
                    • W Wombaticus

                      Yes, you're right, and I realise this - but it's a large job to re-write the code, and I don't feel like doing it for free. So until the client is prepared to fork out for it, we'll just have to struggle on with the current code. As the earlier poster pointed out, this client is a tech dinosaur... I have pointed out to them the dangers of the path they are currently on.

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

                      Wombaticus wrote:

                      So until the client is prepared to fork out for it, we'll just have to struggle on with the current code.

                      The client will be going this path until something bad happens. You need to prevent that, as YOU are the one that knows more about the risk of continuing this path than he has. At least make sure you are not liable if the thing collapses; because that WILL happen at one point in time.

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                      1 Reply Last reply
                      0
                      • W Wombaticus

                        Sorry if this si impertinent, to ask a follow-up question like this, but I wonder if you mght know this: The difficulty with installing W10 in a VM is that it won't recognise it as a free upgrade from my W7, so will ask for a product key - which I don't have (or would need to buy.) But it occurs to me that I could instead go for the W10 upgrade and then, if necessary, re-install W7 in a VM on the same machine... the querstion then is: would it let me? Or would it tell me that the W7 product key has akready been used? As it'd be the same physical machine perhaps it would... but being a VM, maybe it won't... i.e. can one re-use a Windows product key on a VM on the same box as the orginal OS was installed?

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #17

                        I don't see why not? The VM runs isolated so it should be okay doing this.

                        1 Reply Last reply
                        0
                        • W Wombaticus

                          Does anyone know if there are any issues installing/running VB5 on Windows 10? Every time I try and Google this I only find articles relating to VB6. I have an old legacy program in VB5 I need to maintain (until I finally get round to rewriting it in .NET... or, should I say, the client finally decides to pay me to...)

                          D Offline
                          D Offline
                          Dainim
                          wrote on last edited by
                          #18

                          I installed it in Windows 10 without any problems..

                          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