<?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: Running a Windows Application through InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/22105.aspx</link><pubDate>Tue, 31 Jul 2007 11:31:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22105</guid><dc:creator>galliumarsenide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22105.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=22105</wfw:commentRss><description>wow, thanks mhudsonjr.. that really helped. :D&lt;br /&gt;</description></item><item><title>Re: Running a Windows Application through InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/21410.aspx</link><pubDate>Tue, 03 Jul 2007 13:37:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21410</guid><dc:creator>mhudsonjr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21410.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=21410</wfw:commentRss><description>&lt;p&gt;Here is some code to run an app. through InfoPath using JScript on a fully trusted form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;	var shell = new ActiveXObject(&amp;quot;WScript.Shell&amp;quot;)
	&lt;/p&gt;&lt;p&gt;var path = &amp;quot;\&amp;quot;C:Program Files\\Folder\\Folder\\Program.exe&amp;quot;;
	&lt;/p&gt;&lt;p&gt;var oExec   = shell.run(path);&amp;nbsp;
&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope this helps anyone.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Running a Windows Application through InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/21395.aspx</link><pubDate>Mon, 02 Jul 2007 23:01:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21395</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21395.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=21395</wfw:commentRss><description>&lt;p&gt;Well, the domain level settings were designed explicitly to prevent you from doing want you want so if you find a way you will essentially expose a security bug in InfoPath! :)&lt;/p&gt;&lt;p&gt;Having said that, I once faced a similar problem where I needed to open a URL on a button click. I tried doing this in code by doing a shell exec and it failed miserably with a security exception. The workaround I found was to use a hyperlink instead of a button. A sort of an ugly workaround could be inserting a hyperlink in your solution (pointing to your application) and asking the user to click it. The fact that the user has to take an explicit action makes it a tiny little bit more secure I guess&amp;nbsp;:)&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t think you can get a link to open up automatically, though, there has to be user action. It&amp;#39;s probably either this or full-trust.&lt;/p&gt;</description></item><item><title>Running a Windows Application through InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/21388.aspx</link><pubDate>Mon, 02 Jul 2007 18:39:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21388</guid><dc:creator>mhudsonjr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=21388</wfw:commentRss><description>I am looking for a way to run a windows app. through JScript code in InfoPath.&amp;nbsp; I know this can be done through using a fully trusted form, but the way I have my form set up will mess up things if I change it to a fully trusted form.&amp;nbsp; My form is a domain level secure form, and so the code will need to work for that.&amp;nbsp; If anyone knows some code that I can write to open this application up through InfoPath that would be greatly appreciated.&amp;nbsp; Thanks very much for your time and input.&lt;br /&gt;</description></item></channel></rss>