<?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: Window forms in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/14358.aspx</link><pubDate>Wed, 08 Mar 2006 04:36:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14358</guid><dc:creator>vasanthaprabu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14358</wfw:commentRss><description>Hi Agni,&lt;br /&gt;&lt;br /&gt; Thanks for your idea!.......&lt;br /&gt;&lt;br /&gt; Here is the Code!,&lt;br /&gt;&lt;br /&gt;HTMLTaskPane htmlTaskPane = (HTMLTaskPane) thisXDocument.View.Window.TaskPanes[0];&lt;br /&gt;HTMLDocument htmlDoc	  = (HTMLDocument) htmlTaskPane.HTMLDocument;&lt;br /&gt;IHTMLElement elmnt = htmlDoc.getElementById("F1");&lt;br /&gt;								txtFields.text = elmnt.getAttribute("value",0).ToString();&lt;br /&gt;&lt;br /&gt;Thank you Agni,(You can trigger me if you have any other idea).&lt;br /&gt;&lt;br /&gt;But I have one doubt that What the use of developing Infopath in .NET ToolKit...I have little bit confuse. Can you clear me.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vasanth.</description></item><item><title>Re: Window forms in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/14357.aspx</link><pubDate>Tue, 07 Mar 2006 07:23:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14357</guid><dc:creator>vasanthaprabu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14357</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Agni&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi Vasanth,&lt;br /&gt;1. First create a HTML page with "File" control.&lt;br /&gt;2. Add this HTML page as Resource file.&lt;br /&gt;3. Go to "Tools-&amp;gt;FormOptions-&amp;gt;Advanced-&amp;gt;Select 'Enable Custom Taskpane'&lt;br /&gt;4. Select your HTML page in the dropdown.&lt;br /&gt;5. Click ok.&lt;br /&gt;&lt;br /&gt;You can get reference to the XDocument in the taskpane with the following line of code &lt;br /&gt;"window.external.Window.XDocument;"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;Thank you Agni,&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vasanth.</description></item><item><title>Re: Window forms in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/14356.aspx</link><pubDate>Tue, 07 Mar 2006 06:38:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14356</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14356</wfw:commentRss><description>Hi Vasanth,&lt;br /&gt;1. First create a HTML page with "File" control.&lt;br /&gt;2. Add this HTML page as Resource file.&lt;br /&gt;3. Go to "Tools-&amp;gt;FormOptions-&amp;gt;Advanced-&amp;gt;Select 'Enable Custom Taskpane'&lt;br /&gt;4. Select your HTML page in the dropdown.&lt;br /&gt;5. Click ok.&lt;br /&gt;&lt;br /&gt;You can get reference to the XDocument in the taskpane with the following line of code &lt;br /&gt;"window.external.Window.XDocument;"&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Window forms in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/14355.aspx</link><pubDate>Tue, 07 Mar 2006 04:12:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14355</guid><dc:creator>vasanthaprabu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14355</wfw:commentRss><description>Hi Agni,&lt;br /&gt;&lt;br /&gt;         Thank you very much.&lt;br /&gt;         Can you give me some example about the TaskPane...or any links. I am using InfoPath .NET Toolkit for developing.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vasanth.</description></item><item><title>Re: Window forms in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/14354.aspx</link><pubDate>Mon, 06 Mar 2006 18:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14354</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14354</wfw:commentRss><description>Hi Vasanth, &lt;br /&gt;You can add a File dialog control(HTML) to your task pane and ask user to click on the button to open the file dialog and select the File URL. You can pass this value to the Webservice and then get the result from the webservice.</description></item><item><title>Window forms in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/12800.aspx</link><pubDate>Mon, 06 Mar 2006 14:38:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12800</guid><dc:creator>vasanthaprabu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12800</wfw:commentRss><description>Dear Friends,&lt;br /&gt;&lt;br /&gt; I would like to add one control in the InfoPath which is not in the InfoPath Controls that FileDialog.&lt;br /&gt;&lt;br /&gt; Thats I need a file path of a file.. now I am just manual enter the file path instead of that I want to add FileOpenDialog box to browse the file and then get the file path ... Is it possible in infopath.&lt;br /&gt;&lt;br /&gt; I have try with File Attachment, but I cant get the File path... if I got the file path I will send it to my webservice and then get the result from the webservice.&lt;br /&gt;&lt;br /&gt; My only problem is How can I get the file path of a file in the infopath form using controls.&lt;br /&gt;&lt;br /&gt;Thanks in Advance.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vasanth.</description></item></channel></rss>