Seeing as Addy was kind enough to include sample adapter code with BlogWave 0.3, my immediate thought was that a Calendar might be cool. Can o' worms, that. I fiddled with this for the last few nights, and I think I've hit the 80/20 point, so I've cleaned up the UI, plastered massive warnings on it, and now it's ready to be seen by anyone not seriously interested in using it.
It's not designed for unattended use; it uses the simplest possible Outlook automation - no profile selection, no mess, no fuss, as long as the logged on user is the calendar source. Um, and it mostly works at night. Mostly.
Disclaimer: I strongly recommend against using this adapter, for any purpose, ever.
Items I thought about but didn't/couldn't/might implement later:
Download: OLCalendar.zip . Unzip into the BlogWave Adapters folder, restart Blogwave if it's running, and it should be good to go.
Hey... I was eager to try it, but it won't run at all. As soon as I click the Select (calendar to publish) button, it throws this error:
File or assembly name Microsoft.Office.Interop.Outlook or one of its dependencies was not found.
I tried putting another Microsoft.Office.Interop.Outlook.DLL in the Adapters folder, but it doesn't work with your DLL.
Can you provide your complete compiled assembly?
Hmm - the complete compiled assembly is included. The Interop file isn't present in the output (or in my BlogWave Adapters folder when I run it).
What I *think* this means is that you need to install the PIA (Primary Interop Assembly) or possibly ".Net Programmability Support" if using Office 2003, through Add/Remove Programs, Advanced Customization, Outlook.
(Or words to that effect)
For Office XP, there's a standalone download available of the PIA's.
I don't do a ton of Office programming, so might easily be wrong about some or all of that!
Let me know how you go...
Yikes. Sometimes, when you use a thousand machines, you get a little confused-- or in my case, most times (and I don't need the machines). This one didn't have the .NET programmability installed...
It's just good that it worked, and that I'm not too far off!