I'm automating some outlook functionality in a .NET app. It works great. I am compiling it and using v 12.0.0.0 of the Outlook Interop assembly.
My code should work on any version of Outlook so it seems silly to have to bind it to a specific version.
Is it possible to use reflection to do this instead of compiling a reference?
Are the interop assemblies on PC's by default that have Office installed anyway or do I need to include them with my application?
I remember with COM I used to be able to say something like CreateObject("Outlook.Application") without needing a strong reference. I'd like to try something like that here. I suppose I could just use COM without the Interop .NET assembly as a back up plan.
Any advice?
Thanks