?
Solved

Cannot open project

Posted on 1999-01-21
3
Medium Priority
?
362 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

764 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