Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / December 2006

Tip: Looking for answers? Try searching our database.

Extracting embedded file attachments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tcarnahan - 04 Dec 2006 21:18 GMT
Hi...Iam new to InfoPath and XML.

I am looking at a requirement to programmatically extract data entered via
InfoPath. So far, I have a VBScript procedure that traverses the XML DOM
reading each node/element and extracting each node/element's text value.

The part I am having difficulty with is extracting any files that were
attached via an InfoPath "attachment" control.

Would anyone be able to point me to an example of code where the procedure
extracts a file (entirefile) that has been attached to the output .XML file
created by InfoPath?

Thank you ahead of time for your help!
S.Y.M. Wong-A-Ton - 05 Dec 2006 10:03 GMT
To my knowledge, this will be difficult to achieve using script. It is best
to use managed code to extract this information and do the conversion from
base64 encoded string. Sorry, I do not have any samples that could help, but
you can find more information on the control here:
http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx
---
S.Y.M. Wong-A-Ton

> Hi...Iam new to InfoPath and XML.
>
[quoted text clipped - 10 lines]
>
> Thank you ahead of time for your help!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.