Open attachments - InfoPath Dev
in

InfoPath Dev

Open attachments

Last post 04-02-2007 02:07 AM by stzanev. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-01-2007 10:13 PM

    Open attachments

    Hi all,

    is it possible to open a document attached to the form (attachment control) programmatically ?
    Listen to Motörhead cos they play Rock'n Roll :)
  • 04-02-2007 02:07 AM In reply to

    • stzanev
    • Not Ranked
    • Joined on 02-28-2007
    • Bulgaria
    • Posts 13
    Yes,

    The attachment is Base64 encoded in the xml, so you can decode it, save it to a file, and open it programatically.
    Info on encoding and header structure of the attachment:
    http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx

    Stefan
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.