Search - InfoPath Dev

InfoPath Dev

Search

You searched for the word(s): 12
Page 6478 of 11491 (114909 items) « First ... < Previous 6476 6477 6478 6479 6480 Next > ... Last »
  • Re: Attachment Encoder and Decoder

     No worries.  Glad it helped :-)
    Posted to Code (Forum) by Jimmy on 02-09-2010
  • Re: Attachment Encoder and Decoder

    Yeah I know. I was following all of her directions and testing it. I posted that last post before I saw your response. You're AWESOME man. Thanks for all of your help
    Posted to Code (Forum) by Lawson on 02-09-2010
  • Re: Attachment Encoder and Decoder

    You are AWESOME!!! Thank you! I followed all of your directions, and the save button works. Thanks for all your help -Lawson
    Posted to Code (Forum) by Lawson on 02-09-2010
  • Re: Attachment Encoder and Decoder

     I already told you how to fix the problem and Hilary has modified your code to work correctly.  It has nothing to do with the System.Text namespace.
    Posted to Code (Forum) by Jimmy on 02-09-2010
  • Re: Attachment Encoder and Decoder

    The decoder and encoder classes belong to the System.Text Namespace. I took your suggestion and tried to add the reference. However, the System.Text Namespace does not exist. I found many different system namespaces, but no system.text.  This is pretty baffling because from everything I’ve read about VSTA 2.0 leads me to believe this ...
    Posted to Code (Forum) by Lawson on 02-09-2010
  • Re: Attachment Encoder and Decoder

    Ah, I see Jimmy already posted the details about the issue! Here is a zip with the modified code. I've also included a Word docx with some screenshots and info to help you get your form template repointed to the corrected code module.
    Posted to Code (Forum) by Hilary Stoupa on 02-09-2010
  • Re: Attachment Encoder and Decoder

    I can see the problem, don't bother trying to add references -- I'll have this posted back here shortly...
    Posted to Code (Forum) by Hilary Stoupa on 02-09-2010
  • Re: Attachment Encoder and Decoder

     It looks like there's a bug in Microsoft's code sample. They have this line: InfoPathAttachmentEncoding.Encoder myEncoder = new InfoPathAttachmentEncoding.Encoder(fileName); But the class is called InfoPathAttachmentEncoder, not just Encoder. Try this instead:  InfoPathAttachmentEncoding.InfoPathAttachmentEncoder ...
    Posted to Code (Forum) by Jimmy on 02-09-2010
  • Re: Copy LAST row of repeating table?

    [quote user="kcoakley"]What are the offending items in this code?[/quote]  Every single one of them, I'm afraid :-)  The corresponding code for IP 2007 would be:XPathNavigator row = MainDataSource.CreateNavigator().SelectSingleNode("//my:repeatingtable[last()]", NamespaceManager); // I don't think you need ...
    Posted to Code (Forum) by Jimmy on 02-09-2010
  • Re: programmatically adding rows to Infopath repeating table - rows have buttons

     What happens if you remove this part?: field = doc.CreateElement("field3", NamespaceManager.LookupNamespace("my")); node = group.AppendChild(field); node.InnerText = "Cell 3"; The button is part of the repeating table control. It's not something you manually add to each row from the code.
    Posted to General (Forum) by Jimmy on 02-09-2010
Page 6478 of 11491 (114909 items) « First ... < Previous 6476 6477 6478 6479 6480 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.