So after a little bit more work, I have my Word interface to
http://blogs.gotdotnet.com working. I
gave up on trying to post to the page and instead just peeked inside the
original code to find the web service I need to call to submit the entry to the
web. Not sure how secure this is, since it appears to send credentials over the
wire in the clear, but this isn't exactly my bank account login.
I'm still using my cut-n-paste hack at the moment, although
as the Word team (and Paul Willies) pointed out, I can just get the WordML and
do a transform with the Word
to HTL transform. It might be nice to clean up the user interface as well,
but it's OK for my own personal use right now. One other thing I could do now
is convert this into a SmartDocument... that could be fun and/or an interesting
adventure. I'll send this along to Chris and see what he thinks.
As for my experience using VSTO to build this little app...
it went surprisingly well :-). My two main issues were not knowing how to
transform Word to HTML, and being too lazy to find the web service. But in actual
fact it should be quite easy to do the transform (even the hack wasn't too bad),
and I purposefully tried to hack against the web page for a bit of fun.
Another problem was building the XSD that I use in this
document; for some reason it just seemed like creating even a simple XSD in VS was
quite hard. I had to keep going to source view and hacking around until I got
something that looked good, but maybe I just don't know how to use the tool
Oh and the fact that the Shift and Spacebar keys on my Tablet
are a bit dodgy -- kind of makes it hard to write code! 🙁
Now I realise that I haven't actually used any Word features
writing this post, but I feel good about it anyway <g>