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. The Lounge
  3. VB6...

VB6...

Scheduled Pinned Locked Moved The Lounge
csharpdiscussionannouncement
14 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.
  • T Offline
    T Offline
    TaknuMone
    wrote on last edited by
    #1

    Hi All, yep, its correct VB6 :eek: picked up a client whose VB programmer disappeared :((, leaving their application not functional and in a mess. don't have VB6, don't want to buy VB6, and can't find VB6 locally, Q: can i use Microsoft VB .NET 2003 standard to open the VB6 project file and not have it convert it to .net, i just want ot open the .vbp as if it was VB6, will VB. NET allow me to work on the legacy version. and yes... i will be converting the application to C :doh: any thoughts appreciated Thanks

    T D D M 4 Replies Last reply
    0
    • T TaknuMone

      Hi All, yep, its correct VB6 :eek: picked up a client whose VB programmer disappeared :((, leaving their application not functional and in a mess. don't have VB6, don't want to buy VB6, and can't find VB6 locally, Q: can i use Microsoft VB .NET 2003 standard to open the VB6 project file and not have it convert it to .net, i just want ot open the .vbp as if it was VB6, will VB. NET allow me to work on the legacy version. and yes... i will be converting the application to C :doh: any thoughts appreciated Thanks

      T Offline
      T Offline
      Turtle Hand
      wrote on last edited by
      #2

      you can open the files with any text editor. you will lose the nice navigation interface provided by the ide, but you can see everything you need. It's good to live, Josef Wainz Software Developer

      T 1 Reply Last reply
      0
      • T Turtle Hand

        you can open the files with any text editor. you will lose the nice navigation interface provided by the ide, but you can see everything you need. It's good to live, Josef Wainz Software Developer

        T Offline
        T Offline
        TaknuMone
        wrote on last edited by
        #3

        Thanks Turtle, did that , but the problem is i can't find where he setup the connection to the database (SQL server). i opened the .exe and found the "dsn", but the program for reason won't connect to the DB. (Sql Server does not exist or access denied - 80004005) Something strange going on with this app. thanks for replying

        D 1 Reply Last reply
        0
        • T TaknuMone

          Hi All, yep, its correct VB6 :eek: picked up a client whose VB programmer disappeared :((, leaving their application not functional and in a mess. don't have VB6, don't want to buy VB6, and can't find VB6 locally, Q: can i use Microsoft VB .NET 2003 standard to open the VB6 project file and not have it convert it to .net, i just want ot open the .vbp as if it was VB6, will VB. NET allow me to work on the legacy version. and yes... i will be converting the application to C :doh: any thoughts appreciated Thanks

          D Offline
          D Offline
          Dan Morris
          wrote on last edited by
          #4

          There's supposed to be a wizard that will help migrate VB6 code to VB.NET. I'm not sure if it's inherently part of VS.NET or not. I'm not aware of whether you can open a .vbp in VS.NET as I've never tried. Any chance you could get a look at the code from the client's network that would have VB6? Dan Morris

          T 2 Replies Last reply
          0
          • T TaknuMone

            Thanks Turtle, did that , but the problem is i can't find where he setup the connection to the database (SQL server). i opened the .exe and found the "dsn", but the program for reason won't connect to the DB. (Sql Server does not exist or access denied - 80004005) Something strange going on with this app. thanks for replying

            D Offline
            D Offline
            Dan Morris
            wrote on last edited by
            #5

            If that was done using an activeX control in the designer for the control you won't find any code for it. (One of the (many) annoying aspects of VB6) Your best bet on that is find a copy of VB6 whether on the client's machines or what have you, and get the info out of the project using the IDE. Dan Morris

            T 1 Reply Last reply
            0
            • T TaknuMone

              Hi All, yep, its correct VB6 :eek: picked up a client whose VB programmer disappeared :((, leaving their application not functional and in a mess. don't have VB6, don't want to buy VB6, and can't find VB6 locally, Q: can i use Microsoft VB .NET 2003 standard to open the VB6 project file and not have it convert it to .net, i just want ot open the .vbp as if it was VB6, will VB. NET allow me to work on the legacy version. and yes... i will be converting the application to C :doh: any thoughts appreciated Thanks

              D Offline
              D Offline
              Duncan Edwards Jones
              wrote on last edited by
              #6

              You cannot open a VB6 program in VB.Net and then compile it as a VB6 program. However, VB6 is still included in the MSDN distro and if you have a license for VB.Net I think this covers VB6 as well... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

              T 1 Reply Last reply
              0
              • D Dan Morris

                There's supposed to be a wizard that will help migrate VB6 code to VB.NET. I'm not sure if it's inherently part of VS.NET or not. I'm not aware of whether you can open a .vbp in VS.NET as I've never tried. Any chance you could get a look at the code from the client's network that would have VB6? Dan Morris

                T Offline
                T Offline
                TaknuMone
                wrote on last edited by
                #7

                Hi Dan, from opening the .vbp file, he used more ocx's and controls than you could swing a stick at :wtf: the client doesn't have VB6, he worked on the code on his laptop. we did hunt him down and got a copy of the source ,which looks like its also missing stuff. this is gonna be fun i downloaded VB 2005 express, it didn't like the project at all. Thanks Dan Peter

                1 Reply Last reply
                0
                • D Duncan Edwards Jones

                  You cannot open a VB6 program in VB.Net and then compile it as a VB6 program. However, VB6 is still included in the MSDN distro and if you have a license for VB.Net I think this covers VB6 as well... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

                  T Offline
                  T Offline
                  TaknuMone
                  wrote on last edited by
                  #8

                  Hi Duncan. :doh::doh::doh: crhapppp :doh::doh::doh::doh: use to have msdn sub, but too expensive north of the USA border. i think i'll just recommend to re-write it properly. thanks for the input, greatly appreciated Peter

                  R 1 Reply Last reply
                  0
                  • T TaknuMone

                    Hi All, yep, its correct VB6 :eek: picked up a client whose VB programmer disappeared :((, leaving their application not functional and in a mess. don't have VB6, don't want to buy VB6, and can't find VB6 locally, Q: can i use Microsoft VB .NET 2003 standard to open the VB6 project file and not have it convert it to .net, i just want ot open the .vbp as if it was VB6, will VB. NET allow me to work on the legacy version. and yes... i will be converting the application to C :doh: any thoughts appreciated Thanks

                    M Offline
                    M Offline
                    Mike Hodnick
                    wrote on last edited by
                    #9

                    Would suddenly switching technologies in the middle of app development be a good idea? Perhaps in your case it could fly... I don't know the app, of course, but does it have the infrastructure to support a .Net app? e.g. the client machines need the .Net framework, etc. [EDIT]Ahh... after reading the thread again I think what you were getting at is only being able to open a VB6 project in the .Net IDE - not convert to the app to .Net. So disregard my first paragraph.[/EDIT] Why convert the app to C? If the client is paying for the time to convert the app, did they have a say in that decision? Michael Hodnick www.kindohm.com blogs.kindohm.com

                    T 1 Reply Last reply
                    0
                    • T TaknuMone

                      Hi Duncan. :doh::doh::doh: crhapppp :doh::doh::doh::doh: use to have msdn sub, but too expensive north of the USA border. i think i'll just recommend to re-write it properly. thanks for the input, greatly appreciated Peter

                      R Offline
                      R Offline
                      Rocky Moore
                      wrote on last edited by
                      #10

                      You say you used to have a msdn subscription. If you did, then you probably have VS6 which includes VB6. If for some strange reason you do not have that, then ebay can be your friend. A quick look finds: cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&category=46327&item=7103345786&rd=1[^] Which has VB6 Pro for sale currently at $31. That would be far less than rewriting their app (assuming it is more than a calculator : ) ) Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                      T 1 Reply Last reply
                      0
                      • M Mike Hodnick

                        Would suddenly switching technologies in the middle of app development be a good idea? Perhaps in your case it could fly... I don't know the app, of course, but does it have the infrastructure to support a .Net app? e.g. the client machines need the .Net framework, etc. [EDIT]Ahh... after reading the thread again I think what you were getting at is only being able to open a VB6 project in the .Net IDE - not convert to the app to .Net. So disregard my first paragraph.[/EDIT] Why convert the app to C? If the client is paying for the time to convert the app, did they have a say in that decision? Michael Hodnick www.kindohm.com blogs.kindohm.com

                        T Offline
                        T Offline
                        TaknuMone
                        wrote on last edited by
                        #11

                        Hi Michael Would suddenly switching technologies in the middle of app development be a good idea? Perhaps in your case it could fly... I don't know the app, of course, but does it have the infrastructure to support a .Net app? e.g. the client machines need the .Net framework, etc after looking at what code they were given... ohhh yeah. total spaggetti code, plus modules missing, no structure, no nothing. The app was written by a kid going to school, and i was able to also find lots of "vb for dummies" books. From waht i saw there's no starting point to go to .NET, tried to convert but with the missing modules, .net was just failing everywhere on the conversion. Why convert the app to C? If the client is paying for the time to convert the app, did they have a say in that decision? doesn't have to be C++. Client wants the app running and able for expansion for future needs. Also, the application was never actually running on their systems, only the programmers notebook "supposidly" !. its a sad situation, but i the client realizes that their options are limited. Thanks for your input Peter

                        1 Reply Last reply
                        0
                        • R Rocky Moore

                          You say you used to have a msdn subscription. If you did, then you probably have VS6 which includes VB6. If for some strange reason you do not have that, then ebay can be your friend. A quick look finds: cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&category=46327&item=7103345786&rd=1[^] Which has VB6 Pro for sale currently at $31. That would be far less than rewriting their app (assuming it is more than a calculator : ) ) Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                          T Offline
                          T Offline
                          TaknuMone
                          wrote on last edited by
                          #12

                          Hi Rocky, yeah did have msdn till 1998.... which included VB5. a friend had VB6, so took the code over there to take a look at it. thanks for the link, might be good to have a copy on hand. That would be far less than rewriting their app (assuming it is more than a calculator : ) ) yes it would, i think its more than a calculator, but a calculator acutally does something. also found that there were many modules missing from the code. thanks for the input. Peter

                          1 Reply Last reply
                          0
                          • D Dan Morris

                            There's supposed to be a wizard that will help migrate VB6 code to VB.NET. I'm not sure if it's inherently part of VS.NET or not. I'm not aware of whether you can open a .vbp in VS.NET as I've never tried. Any chance you could get a look at the code from the client's network that would have VB6? Dan Morris

                            T Offline
                            T Offline
                            TaknuMone
                            wrote on last edited by
                            #13

                            Hi Dan, yes the wizard is part of VB/VS.NET. tried to migrate but craps out due to missing objects in the VB6 project. no, it won't open the .vbp project file. i opened it with notepad and took a look at what was their and tried to located the ocx's and VB modules, but the programmer didn't give them all the code. ! thanks Peter

                            1 Reply Last reply
                            0
                            • D Dan Morris

                              If that was done using an activeX control in the designer for the control you won't find any code for it. (One of the (many) annoying aspects of VB6) Your best bet on that is find a copy of VB6 whether on the client's machines or what have you, and get the info out of the project using the IDE. Dan Morris

                              T Offline
                              T Offline
                              TaknuMone
                              wrote on last edited by
                              #14

                              yeah, that's what i'm planning to do, is try to get what's there and try to put the pieces together and move on from there. eBay here i come. Thanks again Peter

                              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