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