none
How to Email a word 2007 document from a VB2008 solution RRS feed

  • Question

  • Hi,

    I've just tried using Office Automation to create a Word 2007 doc inside my VS2008 solution. So far so good, I can insert the data from a datatable and print the result, however I cannot find any code which will enable me to automatically send the resultant form by email.

    I did try amongst other ideas,

    wordDoc.HasRoutingSlip =

    True

    But got an error message "Exception from HRESULT: 0x800A1704" which to me is as useful as most COM error messages.

    Looking on the net for any help was a waste of a few hours, so I need some real help if possible.

    Thanks

    John

     

     

     

    Tuesday, December 14, 2010 10:59 AM

Answers