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. Need help updating vb script

Need help updating vb script

Scheduled Pinned Locked Moved Visual Basic
helpcsharptoolsannouncement
4 Posts 2 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.
  • N Offline
    N Offline
    NeedingHelp
    wrote on last edited by
    #1

    Someone from a third party vendor has written a vb script for my company. I just wanted to update the script on my own since I can no longer contact the vendor. Here is what he has left us. We have 4 files: .bas, .cls, .exe, .vbp I'm under the impression that I need to open the vb script and then compile it and should recreate the .exe and everything should work. The problem is I don't know if I have the correct file to open or what vb editor he used and if it is compatible with what I am using. I'm using .net. Any help would be appreciated, and I can give more details as needed. Thanks, Dan

    R 1 Reply Last reply
    0
    • N NeedingHelp

      Someone from a third party vendor has written a vb script for my company. I just wanted to update the script on my own since I can no longer contact the vendor. Here is what he has left us. We have 4 files: .bas, .cls, .exe, .vbp I'm under the impression that I need to open the vb script and then compile it and should recreate the .exe and everything should work. The problem is I don't know if I have the correct file to open or what vb editor he used and if it is compatible with what I am using. I'm using .net. Any help would be appreciated, and I can give more details as needed. Thanks, Dan

      R Offline
      R Offline
      Ray Cassick
      wrote on last edited by
      #2

      First, this is NOT vbscript.. it is full VB. Files are as follows: vbp - Visual Basic project file - This is what you open in the VB IDE to open the project. exe - Obviously the compiled application. cls - A class source file. non-.NET versions require that each class be in it's own source file. bas - A code module. This file holds only code, no form definitions. By what you have told me I assume that the application does not interact with the user outside of possibly some simple dialog boxes maybe? I say this because you didn't point out any .frm files, the files that hold userform definitions. You will need to use VB to open this project and recompile when you have made the changes that you need. What particular version I can not say for sure. I would think that it could be anything from Version 4 to 6. Open up the vbp file in notepad and it sould give you some indication of hte version needed if you don't already know.


      Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
      George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


      N 1 Reply Last reply
      0
      • R Ray Cassick

        First, this is NOT vbscript.. it is full VB. Files are as follows: vbp - Visual Basic project file - This is what you open in the VB IDE to open the project. exe - Obviously the compiled application. cls - A class source file. non-.NET versions require that each class be in it's own source file. bas - A code module. This file holds only code, no form definitions. By what you have told me I assume that the application does not interact with the user outside of possibly some simple dialog boxes maybe? I say this because you didn't point out any .frm files, the files that hold userform definitions. You will need to use VB to open this project and recompile when you have made the changes that you need. What particular version I can not say for sure. I would think that it could be anything from Version 4 to 6. Open up the vbp file in notepad and it sould give you some indication of hte version needed if you don't already know.


        Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
        George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


        N Offline
        N Offline
        NeedingHelp
        wrote on last edited by
        #3

        I have Visual Basic. net. When I try to open the .vbp it tells me visual basic 6 migration is not supported with this version. So I'm assuming is version 6. You are right there are no forms and it requires no user intevention. The program simple updates one database and puts it in another so we don't have to do it manually. The problem is I moved one of the databases onto another server therefore the path has changed and it its no longer updating. If I just want to update the program then what would I need to do assuming I have version 6. Do I open the .vbp or what. I see no reference to the path of the old computer in the .vbp, but I do see it in the .bas. Any more help would be appreciated. If you don't want me to directly email you back please let me know. Dan

        R 1 Reply Last reply
        0
        • N NeedingHelp

          I have Visual Basic. net. When I try to open the .vbp it tells me visual basic 6 migration is not supported with this version. So I'm assuming is version 6. You are right there are no forms and it requires no user intevention. The program simple updates one database and puts it in another so we don't have to do it manually. The problem is I moved one of the databases onto another server therefore the path has changed and it its no longer updating. If I just want to update the program then what would I need to do assuming I have version 6. Do I open the .vbp or what. I see no reference to the path of the old computer in the .vbp, but I do see it in the .bas. Any more help would be appreciated. If you don't want me to directly email you back please let me know. Dan

          R Offline
          R Offline
          Ray Cassick
          wrote on last edited by
          #4

          Well if all you have is VB.NET then you are goingt o be in a bind. I belive that you only get the option to upgrade older VB6 projects if you have the Enterprize Architect version. Sounds like maybe you only have Pro. You probably don't want to upgrade the project anyway. Changing the path in the bas file will only get you so far. You will have to recompile once the change it made. That will require that you have VB6. If you are in a pinch and don't have access to VB6 (There is a copy in the older MSDN CD's) You can send me the project, let me know what you need changed, and I can rebuild it for you. Provided that you don't reference any other components that I don't have things should be ok.


          Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
          George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


          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