Solved

Cannot open project

Posted on 1999-01-21
3
351 Views
Last Modified: 2008-03-06
hi,
I have VB5.0 installed both at home and office.
When i copy my VB projects from office (the whole directory) back to home to work, I can't open the project.
The error i got was:
"Threading Model" is an invalid key. The file "myproj.vbp" can't be loaded.

Please advise.
Thanks,
andrea
0
Comment
Question by:andreat
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 10 total points
ID: 1469959
You don't have the same service pack on both machines.

If you don't want to install, open the module that gives you the error with your favorite text editor (mine is Notepad, and you?) and delete the line containing "Threading Model".
0
 

Author Comment

by:andreat
ID: 1469960
hi emoreau,
come to think of it, my VB at home has no service pack :)
just to clarify,when u mention "open the module that gives you the error  and delete the line containing "Threading Model", what exactly does module imply? is it a specific .ini file?

thanx,
andrea
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 1469961
Normally when you have this problem, an error message pops saying something like "Module xxx.cls cannot load because of the Threading model".

Open this xxx.cls module. It will be one of the module you write (form, class, standard module, ...). You find the line normally in the first 50 lines.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question