<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18658.aspx</link><pubDate>Fri, 17 Nov 2006 09:00:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18658</guid><dc:creator>jaloplo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18658</wfw:commentRss><description>Ok,&lt;br /&gt;I checked the code and I use it on Loading and Shutdown form events, but it didn't work well. On Loading Event it inserted data on lists but with no information that users wrote, it's like first insert without user intervention and then forget all about the form.</description></item><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18657.aspx</link><pubDate>Thu, 16 Nov 2006 16:47:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18657</guid><dc:creator>jaloplo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18657</wfw:commentRss><description>My form has three textbox and another one that can be multiple, that is, this field stores as phone numbers as the user wanted. So, I have to save all of these phone numbers in a list and the rest of three textbox in another list (both lists have a common field).&lt;br /&gt;&lt;br /&gt;Instead of save the form into Sharepoint, the form has a button to save to Sharepoint all fields filled in and then, the form has to go to trash, so I have to code the Click event of the button.</description></item><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18656.aspx</link><pubDate>Thu, 16 Nov 2006 16:18:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18656</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18656</wfw:commentRss><description>Hey,&lt;br /&gt;how do you submit your form? With teh data connection wizard, or with code? Seems like your submit isn*t configured correctly. &lt;br /&gt;&lt;br /&gt;The code i added is another way to write something into a textbox. It won't help you at your submit problem.&lt;br /&gt;&lt;br /&gt;bye</description></item><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18655.aspx</link><pubDate>Thu, 16 Nov 2006 12:53:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18655</guid><dc:creator>jaloplo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18655.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18655</wfw:commentRss><description>&lt;br /&gt;Hi janditze,&lt;br /&gt;&lt;br /&gt;I follow the steps you wrote until the code. And the result is that the Infopath shows Ok from Sharepoint, but there is an error when I submit the form clicking in the button. The message is this:&lt;br /&gt;&lt;br /&gt;Infopath can't send the form. Th OnSubmitRequest event handler return a value that especifies the form couldn't send.&lt;br /&gt;&lt;br /&gt;I'll try the code of your post, but how do it helps me???&lt;br /&gt;&lt;br /&gt;Thanks!!!</description></item><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18654.aspx</link><pubDate>Thu, 16 Nov 2006 05:55:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18654</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18654.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18654</wfw:commentRss><description>Thanks Jan! That was how I should have responded... :)</description></item><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18653.aspx</link><pubDate>Wed, 15 Nov 2006 14:19:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18653</guid><dc:creator>janditze</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18653</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;at first, set you secruitylevel on auto! every form that has code, is automaticly domaintrust. and write your code in the loading event! form options&amp;gt;programming&amp;gt;load event.&lt;br /&gt; If your code doesnt work, try this:&lt;br /&gt;&lt;br /&gt;using System.Xml;&lt;br /&gt;using System.Xml.XPath;&lt;br /&gt;&lt;br /&gt;System.Xml.XPath.XPathNavigator root, user;&lt;br /&gt;            root = this.MainDataSource.CreateNavigator();&lt;br /&gt;            user = root.SelectSingleNode("//my:language", this.NamespaceManager);&lt;br /&gt;            if (user.Value.Length &amp;lt;= 0)&lt;br /&gt;                user.SetValue(&amp;lt;put in a variable&amp;gt;.toString());&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this helped&lt;br /&gt;</description></item><item><title>Re: Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18652.aspx</link><pubDate>Tue, 14 Nov 2006 18:41:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18652</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18652.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18652</wfw:commentRss><description>Hi Jaime and welcome to our forum!&lt;br /&gt;Only Full Trust forms can access local file and machine resources. You can set your form to Full Trust but then deploying to SharePoint will require a digital certificate. My recommendation would be to remove the code that requires Full Trust and deploy it.</description></item><item><title>Can Sharepoint open coded form???</title><link>https://www.infopathdev.com:443/forums/thread/18519.aspx</link><pubDate>Mon, 13 Nov 2006 09:37:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18519</guid><dc:creator>jaloplo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18519.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18519</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I have a problem open a coded Infopath 2007 form in Sharepoint.&lt;br /&gt;&lt;br /&gt;I have one form that has a textbox. This textbox is filled in the initialization of the form with my name:&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;i&gt;MainDataSource.CreateNavigator().SelectSingleNode("/my:Clientes/my:Nombre", NamespaceManager).SetValue("Jaime");&lt;/i&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;The form works fine when I execute it from VSTA. Then, the form is publish in one Sharepoint list and when I try to open it (or create a new form) appears this message:&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;i&gt;Infopath 2007 can't create new blank forms. Infopath 2007 can't open this form.&lt;/i&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;The details are:&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;i&gt;The form template try to access to local files and machine configurations...&lt;/i&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;How can I solve this problem???&lt;br /&gt;&lt;br /&gt;PD: Sorry about error messages. I've translated from Spanish and am not sure about it.</description></item></channel></rss>