code infopath - InfoPath Dev
in

InfoPath Dev

code infopath

Last post 10-07-2014 09:53 PM by Gulnaz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-05-2014 08:56 PM

    • Gulnaz
    • Not Ranked
    • Joined on 10-05-2014
    • Posts 2

    code infopath

    Greetings, I wanted to ask somebody tried to add code to the form library(Infopath 2010) and post to(Central Administration). When i add in VS this code(MessageBox.Show("Hello world!!!");) i have error in Central Administration like this Operations of the user interface is not supported. It is recommended to delete the following use: System.Windows.Forms. Please help me
    Filed under:
  • 10-06-2014 08:02 AM In reply to

    Hi - the object model for browser forms is a little different from filler forms - your form can't contain a reference to System.Windows.Forms. I suggest you start with a browser compatible form and then in your sample code just set a field's value:

    http://msdn.microsoft.com/en-us/library/aa945227(v=office.14).aspx

    Look for the section called "Selecting and Setting the XML Nodes for Fields in the Main Data Source"

    Hilary Stoupa

  • 10-07-2014 09:53 PM In reply to

    • Gulnaz
    • Not Ranked
    • Joined on 10-05-2014
    • Posts 2
    Hilary Stoupa, Thank you very much
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.