Different versions of Office

B

BK

I have a .NET Solution (currently in 2003, FW 1.1) that uses Office
automation for a few things (generates a Word document, dumps datagrids
to Excel, etc.). One of my programmers works on the project from time
to time. We always have problems when he loads up the latest version
of the Solution however, and it appears to be a compatibility issue
with difference in Office versions.

My development platform is Xp Professional running Office 2003.
His development platform is Xp Professional running Office 2000.
Most of our users have Windows 200 Professional with Office 2000.

None of the users have any problems running the application or using
any of the Office automation built in.

Some of the errors my other developer has when he tries to rebuild the
Solution for testing on his local machine are:

'Interop' is not a member of 'Office'
The dependency Microsoft.Office.Interop.Excel could not be found
The dependency Microsoft.Vbe.Interop could not be found
The referenced component 'VBIDE' could not be found. A wrapper
assembly is not registered for the type library
The referenced component 'Word' could not be found
Type Microsoft.Office.Interop.Word.Application is not defined
Type Microsoft.Office.Interop.Word.Document is not defined
Type Microsoft.Office.Interop.Word.Paragraph is not defined
Type Microsoft.Office.Interop.Word.Table is not defined

Any help is appreciated.
 
J

JensB

BK said:
I have a .NET Solution (currently in 2003, FW 1.1) that uses Office
automation for a few things (generates a Word document, dumps datagrids
to Excel, etc.). One of my programmers works on the project from time
to time. We always have problems when he loads up the latest version
of the Solution however, and it appears to be a compatibility issue
with difference in Office versions.

My development platform is Xp Professional running Office 2003.
His development platform is Xp Professional running Office 2000.
Most of our users have Windows 200 Professional with Office 2000.

None of the users have any problems running the application or using
any of the Office automation built in.

Some of the errors my other developer has when he tries to rebuild the
Solution for testing on his local machine are:

'Interop' is not a member of 'Office'
The dependency Microsoft.Office.Interop.Excel could not be found
The dependency Microsoft.Vbe.Interop could not be found
The referenced component 'VBIDE' could not be found. A wrapper
assembly is not registered for the type library
The referenced component 'Word' could not be found
Type Microsoft.Office.Interop.Word.Application is not defined
Type Microsoft.Office.Interop.Word.Document is not defined
Type Microsoft.Office.Interop.Word.Paragraph is not defined
Type Microsoft.Office.Interop.Word.Table is not defined

Any help is appreciated.

reason could be that you from start have referenced to Microsoft Word 11.0
Object library,
to the application, but your developper only have Microsoft Word 9.0 Object
library,(Offices 2000)
on his machine.

Jens
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top