You searched for the word(s): 2
-
The code sample is using the IP 2003 object model. If you are using IP 2007, you can either set your form to use C# 2003 compatible for the programming language or modify the code to use the 2007 OM. This MSDN article has some information on the differences.
-
Dear Jimmy,
again many thanks for your help...
When I open my form I found a section where I can change the setting, but it gives me only JScript or VBScript...
Would be great to get a solution... :-)
Thanks!
Joerg
-
IP2003 does not have built-in support for C#. I can try to figure out a way to do this in JScript tomorrow, if nobody else responds by then.
-
InfoPath 2003 (11.8165.8221) SP3 do I have to change the setting anywhere that it uses C# instead of JScript? If so - where can I set this up?
When I open my form I found a section where I can change the setting, but it gives me only JScript or VBScript...
-
The problem is that the code I wrote above is C# code and your form is set up to use JScript code. Which version of InfoPath are you using?
-
Dear Jimmy,
many thanks to you for helping me out, I now have this code behind my button, where SmartKey is the name of the Field (it is XHTML formated Richtext):
function CTRL9_5::OnClick(eventObj)
{
XPathNavigator nodeToCopy = MainDataSource.CreateNavigator().SelectSingleNode("my:myFields/my:SmartKey", NamespaceManager);
if ...
-
-
Hello zartr,
I think this will work:
XmlDocument doc = new XmlDocument();
doc.LoadXml(MainDataSource.CreateNavigator().InnerXml);
-
Hi,
The code that i have mentioned is completly C#. Please check the below namaspace.
using Microsoft.Office.Interop.InfoPath.SemiTrust;
-
Hi
I am using InfoPath 2007 and VB. My programming knowledge is limited.
I am running some code which may take some time (sending attached files to SharePoint there could be as many as 20 different files) and I would like to display a message something like "This process may take some time, please wait...". I ...