Link to home
Start Free TrialLog in
Avatar of ehess
ehessFlag for United States of America

asked on

Word doesn't open file that's setup with VB- error: could not load some objects because they are not available on this machine

The file works fine on a computer with Windows 7 Pro and Word 2007 Pro Plus, but the program won't run on the Windows 7 Pro computer with Word 2010.  When the file is opened it generates the error twice, could not load some objects because they are not available on this machine.  Then a VB error opens: Compile error:  Can't find project or library.  

I didn't create the file, just have people in my organizations use the file and it works for some but not everyone.  
Avatar of bobpsmith
bobpsmith

Is this the complete error msg...

Compile error:  Can't find project or library

if not can you update with the complet message?
Try this...

MS word -> Options -> Add-ins -> in the drop down list find disabled items and click GO.

Enable anything that has been disabled.

Also in the add-in menu, compare the comms addins and the word addins with the working and non working machines.

After changing the settings, completely close word to check if the changes made any difference.
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ehess

ASKER

GrahamSkan, call me a novice, but I found Microsoft Windows Common Controls-2 6.0(SP6) was missing on the Word 2010 computer but I do not know how to import the file.  I did uncheck the MISSING file and the macro appears to run successfully, but I have a little more testing to do with it before I can completely confirm that was the fix.
Avatar of ehess

ASKER

I need to use the Microsoft Windows Common Controls-2 6.0(SP6).  How do I import the file?  
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ehess

ASKER

I did find the cab file to download from Microsoft and installed it, but when I register the file I get an error.  

The module "C:\Windows\System32\mscomct2.ocx"was loaded but the call to DllRegisterServerfailed with error code 0x8002801c.  
Avatar of ehess

ASKER

I ran the command prompt as administrator and got the file to register successfully.  
Avatar of ehess

ASKER

Excellent instructions!  
Thank you. Very gratifying