IxiRancid Posted June 18, 2004 Posted June 18, 2004 Is installing Office 2003 a must for using Visual Tools for Microsoft Office System (with VS.NET 2003)? Could it be used with Office XP (2002), or perhaps just the new libraries would be enough (version 11)? Please help, because I'm in a quite a big trouble! Thanks! Quote
XL-Dennis Posted July 15, 2004 Posted July 15, 2004 Is installing Office 2003 a must for using Visual Tools for Microsoft Office System (with VS.NET 2003)? Yes, MS has moved its developing platform for MS Office to .NET which require the latest version Kind regards, Dennis Quote
Arch4ngel Posted July 15, 2004 Posted July 15, 2004 Well... I've worked with Office XP and Office 2003 on both VS.NET 2002 and VS.NET 2003. What it used to do is only to import the right Interop DLL. So as long as your version of office have a COM that is compatible with VS.NET ... It'll probably work. Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
XL-Dennis Posted July 15, 2004 Posted July 15, 2004 The OP actually means VSTO which is the new version of Office MOD and it is not part of the VS.NET 2002 or the VS.NET 2003. Here is a good starting point to learn more about VSTO: http://msdn.microsoft.com/office/understanding/vsto/default.aspx If You subscribe to MSDN Enterprise then it is available in this package otherwise You need to buy it as a standalone. Yes, it only works with Office 2003. Dennis Quote
Arch4ngel Posted July 15, 2004 Posted July 15, 2004 Hummmm... Am I having hallucination ? Well... I'm with Office XP at my work... and I'm working with Office in my ASP.NET and WinForms application. Here is information from the reference : Name : Interop.Microsoft.Office.Core Description : Microsoft Office 10.0 Object Library (OfficeXP, 2003 is 11.0) Well... maybe I'm crazy but you might explain why you said this : Yes' date=' MS has moved its developing platform for MS Office to .NET which require the latest version[/quote']Because I'm working with Office XP (2002) dll and it's not the latest version (refereing to 2003) and everything is working. Explain me because your misleading me. :-\ (Unless you are refer to the office object under .NET tab) Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
XL-Dennis Posted July 15, 2004 Posted July 15, 2004 Your refer to the standard way of Excel- and Word-automation through COM in VB.NET but VSTO is a total different approach: Here You may see the difference: http://www.devx.com/codemag/article/18233/0/page/1 Kind regards, Dennis Quote
Arch4ngel Posted July 15, 2004 Posted July 15, 2004 Thanks for the precision. Yeah it seems cool. Since it don't act as COM object (while still being one) anymore and can reduce production time. I'll have to keep up to date and keep an eye on the developement of this. My first preoccupation about this... is the version of office. Will further version will have backward compatibility ? I mean by this... it's using Office 2003. Not everybody have it. What about further version of VSTO ? And what about Office 2004 VSTO and Office 2005 VSTO ? Will they support Office 2003 VSTO or will user will be forced to update their Office version ? Hummmm... so much questions... so few anwser..... AAAGRRRRRRRRRRR !!!! :p lollll Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
XL-Dennis Posted July 16, 2004 Posted July 16, 2004 I agree that is a little bit confusing and it raise more questions then there are answers to... Anyway, using the COM-approach to automate office will still be a valid and workable way with .NET and I guess this will be the de facto standard as long as we still need to work with older versions, i e 97 and above, of Office. In pure technical terms it's about controling unmanaged code with managed code ;) MS has always had a good strategy for backward compatibility but since .NET represent a total different technical-platform then we need to accept the changes. But as long as the COM-approach is available we are assured to have a backward compatibility. As for VSTO, it's still under developing like VS.NET itself so let see what the next coming versions next year will contain :) Kind regards, Dennis Quote
Recommended Posts