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