Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Cannot open project

Posted on 1999-01-21
3
Medium Priority
?
375 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 30 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

604 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