<?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: Convertion Jscript in C#</title><link>https://www.infopathdev.com:443/forums/thread/8787.aspx</link><pubDate>Tue, 17 Jan 2006 14:30:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8787</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8787</wfw:commentRss><description>One thing to remember is that when you access the taskpane from managed code you will have to give full trust to the form.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Convertion Jscript in C#</title><link>https://www.infopathdev.com:443/forums/thread/8786.aspx</link><pubDate>Tue, 17 Jan 2006 08:23:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8786</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8786.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8786</wfw:commentRss><description>Hi Thierry,&lt;br /&gt;HTMLDocument is property of HTMLTaskPane. HTMLDocument property type is IHTMLDocument2.&lt;br /&gt;&lt;br /&gt;You have the details about IHTMLDocument2 at the following link.&lt;br /&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/reference/ifaces/document2/document2.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/reference/ifaces/document2/document2.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Convertion Jscript in C#</title><link>https://www.infopathdev.com:443/forums/thread/8785.aspx</link><pubDate>Mon, 16 Jan 2006 07:29:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8785</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8785</wfw:commentRss><description>Sorry Thierry,&lt;br /&gt;I'll ask Agni to respond. He's been doing a bunch of conversion lately.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Convertion Jscript in C#</title><link>https://www.infopathdev.com:443/forums/thread/8784.aspx</link><pubDate>Mon, 16 Jan 2006 06:51:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8784</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8784</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Nobody has an idea?&lt;br /&gt;&lt;br /&gt;My problem is that in Jscript I have:&lt;br /&gt;&lt;br /&gt;XDocument.View.Window.TaskPanes.Item(0).HTMLDocument.&lt;br /&gt;parentWindow.showModalDialog("....");&lt;br /&gt;&lt;br /&gt;but in C# I can make:&lt;br /&gt;&lt;br /&gt;thisXDocument.View.Window.TaskPanes[0]&lt;br /&gt;&lt;br /&gt;Bit if I try to make .HTMLDocument this is not recognize why? &lt;br /&gt;&lt;br /&gt;I have search in the object browser to find another method but I didn't find it!&lt;br /&gt;&lt;br /&gt;Is there another way?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Convertion Jscript in C#</title><link>https://www.infopathdev.com:443/forums/thread/5263.aspx</link><pubDate>Thu, 12 Jan 2006 10:18:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5263</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5263.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5263</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have the following probleme I try to translate some example in Jscript to C#. But I am not very good in Jscript so I need your help!&lt;br /&gt;&lt;br /&gt;Here is the line that I don't understand :&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;// Show a modal dialog with a size of 400x600 and using Import.htm for&lt;br /&gt;// its contents.  The XDocument object is passed as a dialog parameter&lt;br /&gt;// and the number of CDs which were imported is returned.&lt;br /&gt;var intImported = XDocument.View.Window.TaskPanes.Item(0).HTMLDocument.&lt;br /&gt;parentWindow.showModalDialog("Import.htm", XDocument, &lt;br /&gt;"status:no;help:no;resizable:yes;dialogHeight:400px;dialogWidth:600px");&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Can someone explain or translate me this little code?&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;Thierry</description></item></channel></rss>