-
Franck,
Sorry for the late response, I honestly don't know how you could do this very well. I did some googling and found this site where it looks like he did some trickery with creating an Outlook object and created an e-mail from a much simpler base. Check it out and I hope it ...
-
Weird, I checked the SDK before I claimed that it didn't have to be Full Trust and it said this:
quote:Close Method (XDocuments Collection)
See Also Applies To Example Specifics
Closes the specified Microsoft Office InfoPath 2003 form.
expression.Close(ByVal varIndex As Variant)
expression Required. An expression that returns a reference to ...
-
The XPath in this statement looks really weird:
IXMLDOMNode worker = obj.DOM.selectSingleNode(''/my:myFields/my:workers/my:worker[my:id=1]/child..login'');
What is ''child..login'' at the end? If you want the name, change it to ''my:name''. The reason your getting an error on the line that you're getting them on is because the line listed above ...
-
That is a little weird. Your form does not have to be fully trusted to use that function. I couldn't find much information on google about anyone else having this problem - maybe you could put your close functionality inside of a button and have a user click it?
---------------
Matt Faus
InfoPath Dev Texas
-
Hm, haven't heard of anything like this. One reason it might not be implemented is because there are so many ways around it (ctrl+alt+del , hard shut down, etc.)
Maybe you could just instruct the users not to close the form?
---------------
Matt Faus
InfoPath Dev Texas
-
You are sending the .xsn file right? If you send an .xml file that is associated with an .xsn file that their computer has never had the oppurtunity to cache, then it will not have anything to open it with.
---------------
Matt Faus
InfoPath Dev Texas
-
You can fill out forms and save the results by clicking File then Save. This will save an XML file that is linked to the form template that it was filled out in. When you double-click the xml file it will open in the form template and you can see all of the values that were input.
What kind of information regarding Sharepoint were you looking ...
-
Ok, here's what I would do.
You will have two repeating tables. Format these so that sit one on top of the other and look like one table. On the top table make every field read-only and in the bottom table make the fields normal. I don't know exactly how you generate your table or if a user enters it, but you will want to put the non-editable ...
-
Wow, that would be really cool if you could do! However, I doubt you could do this without some serious hacking. The task pane might be a better option.
---------------
Matt Faus
InfoPath Dev Texas
-
Sure thing! Let us know how things turn out :)
---------------
Matt Faus
InfoPath Dev Texas