Solved

Cannot open project

Posted on 1999-01-21
3
359 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 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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 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…
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…
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…

729 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