-
Maybe the issue is with the signing certificate itself? Have you tried using the InfoPath editor UI to sign a test form (rather than do it via code)? It might help identify an issue with the certificate.
-
What is the data type of my:directorate?
What is the error message you are getting?
Is that node even present in the XML when you try to set it's value?
-
Glad you got it working. I thought the question was about the email, not about the close. It looks like all you did was delete the lines that sent the email and did the alert. If you did not want to send any email, then this was the right choice. If you just wanted to stop the email from being opened in Outlook -- but still send it -- then you ...
-
InfoPath 2003 does NOT include a multi-select box.
-
IP07 includes the new Multiple-Selection List Box control which allows for multiple selections. But I have not used this control and do not know what kind of affect it will have on the effectiveness of the code you now have running. If it requries code changes when switching to that control, you'll need to figure those out on your own.
Good ...
-
I wish you the best on the rest of the project!
-
Glad you got it working. Thanks for sharing the solution with us!
-
I see. I was unaware of this control.
I am not sure how many of the IP team hang out in these forums, but I do know that there are a few that frequent the Microsoft Public Newsgroups for InfoPath. You can get to them using Outlook Express (XP) or Windows Mail (Vista) by connecting to newsgroup server: msnews.microsoft.com
Sorry I can't help ...
-
In 2003 coding you would do something like this:
IXMLDOMNode oXml = thisXDocument.DOM.selectSingleNode("...xpath to XML Node to be transformed...");
IXMLDOMNode oXsl = ... // You need to have your XSL loaded into an IXMLDOMDocument, and then select it's root.
string transformResults = oXml.transformNode(oXsl);
- - - - -
But the ...
-
I'm glad to hear you got it working... but seriously, I'd look at getting that code out of the _Startup method if at all possible. It might work now, but cause you future headaches down the road. If you look back at your original error message you see:
System.InvalidOperationException
The _Startup or _Shutdown method in this form's ...