|
-
Mar 24th, 2004, 03:26 PM
#1
Thread Starter
Fanatic Member
URGENT - problem copying VB project to another pc
Hello;
I have just copied another developer's project onto my machine and it will not run. I get the error 'can't find project or library'. It is crashing on the basic functions intrinsic to VB such as trim, ucase, chr, etc. Is this because the project needs to be in a folder with the same name as the original project? If not, any ideas as to what I can do? My version of VB is fine, as I have numerous other projects on my machine that can find the libraries in msvbvm60.dll and they all run OK.
"Knowledge is gained when different people look at the same information in different ways"
- Louis Pasteur
-
Mar 24th, 2004, 03:31 PM
#2
First check project - references and make sure all vb related are there (at least 3 mandatory refs) - reapply if necessary. If that doesn't help then open new project and inert all objects from "bad" one into it and save it to replace original.
-
Mar 24th, 2004, 03:35 PM
#3
Thread Starter
Fanatic Member
Thanks for the reply;
I am in the process of doing just that (inserting the objects), but this project has about 50 forms, and numerous .ocx refernces, so it is really tedious. Is VB not a more portable language? Or are we screwed like this each time we share projects? If anyone else has any ideas, this shop would love to hear them! Thanks.
"Knowledge is gained when different people look at the same information in different ways"
- Louis Pasteur
-
Mar 24th, 2004, 04:12 PM
#4
You get this error when a reference is missing. Not necessarily the msvbm reference though.
For example, If your project uses lets say Microsoft Active X Data Objects 2.7 on one machine, if you open the project on the second machine that does not have this reference (It may only have up to 2.6) then you will get those errors when trying to run.
If you look at the Projects-> References on the new machine you will see a big MISSING: next to one of your references. Get that reference loaded on the new machine and you should be all set.
-
Mar 24th, 2004, 04:35 PM
#5
Thread Starter
Fanatic Member
This is not the problem as all proper references are there. I checked and checked and checked. Besides, it is crashing on trim, ucase, chr, etc. These are part of the VB runtime library which resides in msvbvm60.dll. I have seen this before, and there are numerous references to it in other forums, but no-one seems to know why.
"Knowledge is gained when different people look at the same information in different ways"
- Louis Pasteur
-
Mar 24th, 2004, 04:56 PM
#6
Frenzied Member
Try creating a New Project and then Add the Forms and Modules afterwards.
-
Mar 24th, 2004, 05:03 PM
#7
... bloody crossposters ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|