C
cwhitelm
I am trying to programmatically access the attachments from an open InfoPath
2007 form. I need to save them to disk via a COM add-in. All of the code
examples that I can find use the Microsoft.Office.InfoPath namespace, but
because I am using VSTO 2005, I am in the Microsoft.Office.Interop.InfoPath
namespace. Is there a way to access the actual files and save them to disk? I
have worked through the http://support.microsoft.com/kb/892730 article (which
also uses the 2003 object model), but the node always comes back null even
though there is an attachment on it.
Any ideas?
2007 form. I need to save them to disk via a COM add-in. All of the code
examples that I can find use the Microsoft.Office.InfoPath namespace, but
because I am using VSTO 2005, I am in the Microsoft.Office.Interop.InfoPath
namespace. Is there a way to access the actual files and save them to disk? I
have worked through the http://support.microsoft.com/kb/892730 article (which
also uses the 2003 object model), but the node always comes back null even
though there is an attachment on it.
Any ideas?