Attachments - InfoPath Dev
in

InfoPath Dev

Attachments

Last post 02-10-2010 12:22 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-09-2010 11:23 AM

    • Lawson
    • Top 100 Contributor
    • Joined on 12-23-2009
    • Virginia
    • Posts 91

    Attachments

    I am trying to implement the attachment encoder and decoder found at the following website http://support.microsoft.com/kb/892730.

     

    I am using InfoPath 2007 and Visual Studio Tools for Applications. I followed all of the directions at the above website. However I get the following six errors:

    Error      1              The type or namespace name 'Encoder' does not exist in the namespace 'InfoPathAttachmentEncoding' (are you missing an assembly reference?)           

    Error      2              The type or namespace name 'Encoder' does not exist in the namespace 'InfoPathAttachmentEncoding' (are you missing an assembly reference?)           

    Error      3              The type or namespace name 'Decoder' does not exist in the namespace 'InfoPathAttachmentEncoding' (are you missing an assembly reference?)           

    Error      4              The type or namespace name 'Decoder' does not exist in the namespace 'InfoPathAttachmentEncoding' (are you missing an assembly reference?)

    Error      5              The best overloaded method match for 'string.EndsWith(string)' has some invalid arguments    

    Error      6              Argument '1': cannot convert from 'char' to 'string'          

     

    Does anybody have any suggestions for fixing these errors?

     

    Thanks

    -Lawson

     

  • 02-10-2010 12:22 PM In reply to

    I believe your question was answered in your other thread, available here. As Jimmy pointed out, there are some errors in that MSDN code sample.

    Hilary Stoupa

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