<?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: Launch an exe from a form</title><link>https://www.infopathdev.com:443/forums/thread/56467.aspx</link><pubDate>Fri, 02 Jul 2010 14:18:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56467</guid><dc:creator>zz1rgt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56467</wfw:commentRss><description>&lt;p&gt;OK, I spoke too soon I guess. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m having trouble figuring out how to launch it from a workflow. The workflow options seem to &amp;quot;canned&amp;quot; and don&amp;#39;t allow what I need. Any assistance would be great.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again.,&lt;/p&gt;</description></item><item><title>Re: Launch an exe from a form</title><link>https://www.infopathdev.com:443/forums/thread/56465.aspx</link><pubDate>Fri, 02 Jul 2010 13:05:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56465</guid><dc:creator>zz1rgt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56465</wfw:commentRss><description>Thanks Pat. That gives me some more options.</description></item><item><title>Re: Launch an exe from a form</title><link>https://www.infopathdev.com:443/forums/thread/56447.aspx</link><pubDate>Fri, 02 Jul 2010 00:52:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56447</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56447</wfw:commentRss><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;You can run an exe by making your form Full Trust and writing code that calls the cmd line but I don&amp;#39;t recommend it because it complicates your form.&lt;/p&gt;
&lt;p&gt;Better solution is to use a server-side trigger (perhaps a workflow) that kicks off when the form is submitted. Do you have SharePoint 2007 with workflow? It will require a custom workflow that is installed on the server. &lt;/p&gt;
&lt;p&gt;I&amp;#39;m guessing you need to do this synchronously. If not, you could just set up the VB program to run every hour and check for new records to process. &lt;/p&gt;
&lt;p&gt;Another random idea is to send these XMLs to an email account and add the custom command as part of the Exchange server. &lt;/p&gt;
&lt;p&gt;Or, you could just have a link in your form that calls an ASPX page (on SharePoint) that runs the script and processes the XML - that might be the simplest.&lt;/p&gt;
&lt;p&gt;Hopefully, one of these ideas will provide a spark to get your engines blazing... if not, sorry to be lame!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;</description></item><item><title>Launch an exe from a form</title><link>https://www.infopathdev.com:443/forums/thread/56314.aspx</link><pubDate>Tue, 29 Jun 2010 20:54:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56314</guid><dc:creator>zz1rgt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=56314</wfw:commentRss><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a pecular need. I need infopath to write a form, one with a unique name on a sharepoint server, and then make a copy of it to another&amp;nbsp;server with&amp;nbsp;a different&amp;nbsp;name. This is not a problem, I then need it to &amp;quot;call&amp;quot; a&amp;nbsp;VB program I wrote that takes the second .XML and manipulates it to suit our needs, but I don&amp;#39;t know how to call the .exe from within InfoPath. I don&amp;#39;t see a shell or similar command...... I&amp;nbsp;need the call to occur after the data submission is completed. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyone run into this?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;</description></item></channel></rss>