JaedenRuiner
Well-known member
- Joined
- Aug 13, 2007
- Messages
- 340
- Programming Experience
- 10+
Okay,
I'm not exactly sure why this is occurring, and I believe it has something to do with Microsoft Office automation. My application basically Automates Word, Excel, and Outlook for use with facilitating many of my Team's daily functions. As a stickler about not doing tedious labor, I prefer to use computers to automate tasks I'd rather not use a pen for, and thus my Word Documents and Excel sheets can be populated via COM.
Granted, I am using SharpDevelop Open Source .Net IDE, but I figure I'd ask here as well as over there, to find out what exactly is causing the glitch. I run the program on my computer, the development system, all the time, and never have a problem. But now I'm getting ready to deploy, and it won't ever start on other systems.
Now, I use a few assemblies in my program, Shell32, Microsoft Word 11.0, Microsoft Excel 11.0, and Microsoft Outlook 11.0, and the compiler tends to include these "Interop.Word.dll" and other "Interop" dll files in my bin/Release directory. If those dll's are present the program runs on my system fine. If not, the program fails. However, if I copy those dll's to another system they don't work and I am curious as to why? Isn't there a way to access the COM functionality of Shell32 and specific Office Libraries without being machine specific? Is there some sort of "CopyRight" liscence code that is being compiled into the Dlls and thus not allowing the application to run?
Any help would be most appreciated.
Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner
I'm not exactly sure why this is occurring, and I believe it has something to do with Microsoft Office automation. My application basically Automates Word, Excel, and Outlook for use with facilitating many of my Team's daily functions. As a stickler about not doing tedious labor, I prefer to use computers to automate tasks I'd rather not use a pen for, and thus my Word Documents and Excel sheets can be populated via COM.
Granted, I am using SharpDevelop Open Source .Net IDE, but I figure I'd ask here as well as over there, to find out what exactly is causing the glitch. I run the program on my computer, the development system, all the time, and never have a problem. But now I'm getting ready to deploy, and it won't ever start on other systems.
Now, I use a few assemblies in my program, Shell32, Microsoft Word 11.0, Microsoft Excel 11.0, and Microsoft Outlook 11.0, and the compiler tends to include these "Interop.Word.dll" and other "Interop" dll files in my bin/Release directory. If those dll's are present the program runs on my system fine. If not, the program fails. However, if I copy those dll's to another system they don't work and I am curious as to why? Isn't there a way to access the COM functionality of Shell32 and specific Office Libraries without being machine specific? Is there some sort of "CopyRight" liscence code that is being compiled into the Dlls and thus not allowing the application to run?
Any help would be most appreciated.
Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner