Home All Groups Group Topic Archive Search About

Different versions of Office

Author
17 May 2006 2:14 PM
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.

Author
17 May 2006 2:56 PM
JensB
Show quote Hide quote
"BK" <bkunn***@hotmail.com> wrote in message
news:1147875280.169776.203860@y43g2000cwc.googlegroups.com...
>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