<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Use of sharepoint object model in managed code for Infopath Client</title><link>https://www.infopathdev.com:443/forums/thread/53173.aspx</link><pubDate>Mon, 29 Mar 2010 08:41:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53173</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53173</wfw:commentRss><description>&lt;p&gt;file -&amp;gt; preview -&amp;gt; preview settings is available in infopath. since it seems that you are using Infopath inside visual studio and not the other way around. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;On the &lt;b class="ui"&gt;Tools&lt;/b&gt; menu, click &lt;b class="ui"&gt;Form Options&lt;/b&gt;. &lt;/div&gt;&lt;/li&gt;
&lt;div&gt;&lt;/div&gt;
&lt;li&gt;In the &lt;b class="ui"&gt;Category&lt;/b&gt; list, click &lt;b class="ui"&gt;Preview&lt;/b&gt;. 
&lt;li&gt;In the &lt;b class="ui"&gt;File location&lt;/b&gt; box under &lt;b class="ui"&gt;Sample data&lt;/b&gt;, click &lt;b class="ui"&gt;Browse&lt;/b&gt;. 
&lt;li&gt;In the &lt;b class="ui"&gt;Browse&lt;/b&gt; dialog box, browse to the location where you saved your form with the sample data, click the form, and then click &lt;b class="ui"&gt;Open&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;now press F5 and you should be able to debug your form. ofcourse you will have to set debug points in the code&lt;/p&gt;</description></item><item><title>Re: Use of sharepoint object model in managed code for Infopath Client</title><link>https://www.infopathdev.com:443/forums/thread/53143.aspx</link><pubDate>Fri, 26 Mar 2010 14:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53143</guid><dc:creator>Kesava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53143</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Qazi,&lt;/p&gt;&lt;p&gt;Eagerly waiting for your reply&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;Kesava</description></item><item><title>Re: Use of sharepoint object model in managed code for Infopath Client</title><link>https://www.infopathdev.com:443/forums/thread/53139.aspx</link><pubDate>Fri, 26 Mar 2010 13:08:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53139</guid><dc:creator>Kesava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53139</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Qazi,&lt;/p&gt;&lt;p&gt;Thanks for your reply and work around. &lt;/p&gt;&lt;p&gt;But I am still not clear on the debug part. My situation is like this, I have a Browser enabled form deployed to sharepoint.&amp;nbsp; I want to debug the form code when I open the form with Infopath Client. &lt;/p&gt;&lt;p&gt;&amp;nbsp;And one more thing is I am using Visual Studio for developing. I am not able to find the option that you told me like&amp;nbsp; &amp;quot;file -&amp;gt; preview-&amp;gt; preview settings&amp;quot;.&amp;nbsp; Please tell me where I can find this option.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Kesava &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Use of sharepoint object model in managed code for Infopath Client</title><link>https://www.infopathdev.com:443/forums/thread/53097.aspx</link><pubDate>Thu, 25 Mar 2010 05:22:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53097</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53097</wfw:commentRss><description>&lt;p&gt;you can not use object model code form client forms, a workaround might be to create web services and invoke them in your code.&lt;/p&gt;
&lt;p&gt;to debug the code, you need to open your template , in the file -&amp;gt; preview-&amp;gt; preview settings &lt;/p&gt;
&lt;p&gt;specify the file location of the form you want to debug. &lt;/p&gt;
&lt;p&gt;then go to your managed code and press F5(run the application). &lt;/p&gt;</description></item><item><title>Use of sharepoint object model in managed code for Infopath Client</title><link>https://www.infopathdev.com:443/forums/thread/53081.aspx</link><pubDate>Wed, 24 Mar 2010 14:20:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53081</guid><dc:creator>Kesava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53081.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53081</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;In my Infopath managed code i am creating spsite objects with spcontext. This works fine when I open the form with the browser. But it didnot work when I open the form with Client.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am not sure what is the way to do that. So please tell me how can I create sharepoint objects in managed code if the form also need to work with Infopath client along with browser.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And also please tell me how to debug the code when i am opening a form (deployed in sharepoint) with Infopath client.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am eagerly waiting for the replies.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>