MS Office 2003 to host the CLR

That's the advantage of an important company backing up a new software development platform: all their products will support it: Centaurs Identity: "Office 2003 made its appearance. It includes Word 2003 and Excel 2003. The buzz is on about the XML support provided by them and the other member of the Office 2003. However, there are other important feature of the two. Word 2003 and Excel 2003 are yet another CLR hosts. They host CLR if the document they load has specific properties set.

For CLR hosts, the most important work to do is to set up AppDomain for managed code to work. Word 2003 and Excel 2003 will set up two AppDomain, and managed code behind documents (.doc and .xls) is loaded into the second AppDomain named after documents' file name. It is interesting that Word 2003 and Excel 2003 hosts make little account of Zone evidence. Managed code behind documents all have to have FullTrust to work. And if the code has FullTrust only because the assembly has proper Zone evidence, then it will be neglected. The AppDomains Word 2003 and Excel 2003 create need stronger evidence to make code work. I think it is because Office documents can flow over network by means of e-mail attachments. E-mail attachments will be opened up from the local hard drive, meaning they will have MyComputer zone evidence. Therefore, Word 2003 and Excel 2003 should not trust the code only because they have MyComputer zone evidence."

Now I don't exactly know what you will be able to do with this, but most obvious would be to be able to write macros in .NET languages (safer as before as rights to write to the filesystem etc. can easily be declined, and are declined if I understand it correctly). If that's true, that would be cool. It's my dads job to write Word macros at our university, he always wanted to learn a real OOP language, such as C++ or Java, but never found the time or a purpose, well dad, here it is. :)