<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Axilicious</title>
	<atom:link href="http://www.ksaelen.be/wordpress/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ksaelen.be/wordpress</link>
	<description>Dynamics Ax Technical blog</description>
	<lastBuildDate>Tue, 10 Jan 2012 13:13:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on AIF: Service actions lost after recreating service by Kevin</title>
		<link>http://www.ksaelen.be/wordpress/2010/11/aif-service-actions-lost-after-recreating-service/comment-page-1/#comment-394</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 10 Jan 2012 13:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=340#comment-394</guid>
		<description>Truncating the table and refreshing the services also did the job :p</description>
		<content:encoded><![CDATA[<p>Truncating the table and refreshing the services also did the job :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debugging AIF on Windows 2008 by John</title>
		<link>http://www.ksaelen.be/wordpress/2010/07/debugging-aif-on-windows-2008-2/comment-page-1/#comment-392</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 30 Dec 2011 05:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=281#comment-392</guid>
		<description>How can I debug AIF services on Dynamics AX 2012</description>
		<content:encoded><![CDATA[<p>How can I debug AIF services on Dynamics AX 2012</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AIF: Service actions lost after recreating service by bkwdesign</title>
		<link>http://www.ksaelen.be/wordpress/2010/11/aif-service-actions-lost-after-recreating-service/comment-page-1/#comment-386</link>
		<dc:creator>bkwdesign</dc:creator>
		<pubDate>Wed, 07 Dec 2011 15:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=340#comment-386</guid>
		<description>This is a great piece of code. I have a follow up question:
Once a company is set up in AX with a set of complex Action Policies (I&#039;m thinking of all those myriad checkboxes), is there an easy way to copy those Action Policies over to another AX company that needs those exact same Action Policies?</description>
		<content:encoded><![CDATA[<p>This is a great piece of code. I have a follow up question:<br />
Once a company is set up in AX with a set of complex Action Policies (I&#8217;m thinking of all those myriad checkboxes), is there an easy way to copy those Action Policies over to another AX company that needs those exact same Action Policies?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debugging AIF on Windows 2008 by Very helpful blogpost on debuggig AIF services on a server 2008 &#171; Philippsen&#039;s Blog</title>
		<link>http://www.ksaelen.be/wordpress/2010/07/debugging-aif-on-windows-2008-2/comment-page-1/#comment-385</link>
		<dc:creator>Very helpful blogpost on debuggig AIF services on a server 2008 &#171; Philippsen&#039;s Blog</dc:creator>
		<pubDate>Wed, 07 Dec 2011 10:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=281#comment-385</guid>
		<description>[...] http://www.ksaelen.be/wordpress/2010/07/debugging-aif-on-windows-2008-2/ Share this:EmailPrintFacebookLinkedInMoreTwitterLike this:LikeBe the first to like this post. [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.ksaelen.be/wordpress/2010/07/debugging-aif-on-windows-2008-2/" rel="nofollow">http://www.ksaelen.be/wordpress/2010/07/debugging-aif-on-windows-2008-2/</a> Share this:EmailPrintFacebookLinkedInMoreTwitterLike this:LikeBe the first to like this post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using C# / XML / XSLT to create Excel Spreadsheet by Mitch</title>
		<link>http://www.ksaelen.be/wordpress/2009/08/using-c-xml-xslt-to-create-excel-spreadsheet/comment-page-1/#comment-383</link>
		<dc:creator>Mitch</dc:creator>
		<pubDate>Mon, 28 Nov 2011 22:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=92#comment-383</guid>
		<description>Next time, please embed code and not images. :) Very helpful for what I am doing though.</description>
		<content:encoded><![CDATA[<p>Next time, please embed code and not images. <img src='http://www.ksaelen.be/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Very helpful for what I am doing though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Performance in Dynamics Ax 2012 by Linn Chaberek</title>
		<link>http://www.ksaelen.be/wordpress/2011/01/performance-in-dynamics-ax-2012/comment-page-1/#comment-363</link>
		<dc:creator>Linn Chaberek</dc:creator>
		<pubDate>Tue, 15 Nov 2011 20:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=358#comment-363</guid>
		<description>Very interesting info !Perfect just what I was  searching  for!</description>
		<content:encoded><![CDATA[<p>Very interesting info !Perfect just what I was  searching  for!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamics Ax Alerting multiple users (By email) by Alex</title>
		<link>http://www.ksaelen.be/wordpress/2010/04/dynamics-ax-alerting-multiple-users-by-email/comment-page-1/#comment-362</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 14 Nov 2011 23:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=160#comment-362</guid>
		<description>Not a bad sample...there are some bugs though.  Relations aren&#039;t setup so the delete action doesn&#039;t work.  Modifying additional recipients doesn&#039;t appear to be working.

I was hoping to just grab and go with this and after a few tweaks I could.

Thanks!</description>
		<content:encoded><![CDATA[<p>Not a bad sample&#8230;there are some bugs though.  Relations aren&#8217;t setup so the delete action doesn&#8217;t work.  Modifying additional recipients doesn&#8217;t appear to be working.</p>
<p>I was hoping to just grab and go with this and after a few tweaks I could.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X++ run a process with user credentials by W@xWe@zel</title>
		<link>http://www.ksaelen.be/wordpress/2010/04/x-run-a-process-with-user-credentials/comment-page-1/#comment-350</link>
		<dc:creator>W@xWe@zel</dc:creator>
		<pubDate>Thu, 03 Nov 2011 10:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=139#comment-350</guid>
		<description>Hi jzeng,

Here is the code I wrote to start something with arguments. Hope this helps!

/// 
/// Opens the WCF trace viewer tool and opens the log file
/// 
/// 
/// Uses the System.Diagnostics.Process and System.Diagnostics.ProcessStartInfo to start the trace viewer
/// 
private void openTraceViewerTool()
{
    FilePath                                editorPath;
    System.Diagnostics.Process              process;
    System.Diagnostics.ProcessStartInfo     startInfo;
    ;

    // Get the executable file of the trace viewer we want to start
    editorPath = RDSWCFTraceViewerToolStarter::getTraceViewerPath();

    // Create a new process instance
    process = new System.Diagnostics.Process();

    // Build an information object to start the process with the
    startInfo = process.get_StartInfo();

    // Pass the executable to the start info
    startInfo.set_FileName(editorPath);

    // Pass the config file to the Trace Viewer
    startInfo.set_Arguments(strfmt(&#039;\&quot;%1\&quot;&#039;, this.parmLogFileName()));

    // Open the Trace Viewer
    process.Start();
}</description>
		<content:encoded><![CDATA[<p>Hi jzeng,</p>
<p>Here is the code I wrote to start something with arguments. Hope this helps!</p>
<p>///<br />
/// Opens the WCF trace viewer tool and opens the log file<br />
///<br />
///<br />
/// Uses the System.Diagnostics.Process and System.Diagnostics.ProcessStartInfo to start the trace viewer<br />
///<br />
private void openTraceViewerTool()<br />
{<br />
    FilePath                                editorPath;<br />
    System.Diagnostics.Process              process;<br />
    System.Diagnostics.ProcessStartInfo     startInfo;<br />
    ;</p>
<p>    // Get the executable file of the trace viewer we want to start<br />
    editorPath = RDSWCFTraceViewerToolStarter::getTraceViewerPath();</p>
<p>    // Create a new process instance<br />
    process = new System.Diagnostics.Process();</p>
<p>    // Build an information object to start the process with the<br />
    startInfo = process.get_StartInfo();</p>
<p>    // Pass the executable to the start info<br />
    startInfo.set_FileName(editorPath);</p>
<p>    // Pass the config file to the Trace Viewer<br />
    startInfo.set_Arguments(strfmt(&#8216;\&#8221;%1\&#8221;&#8216;, this.parmLogFileName()));</p>
<p>    // Open the Trace Viewer<br />
    process.Start();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X++ run a process with user credentials by W@xWe@zel</title>
		<link>http://www.ksaelen.be/wordpress/2010/04/x-run-a-process-with-user-credentials/comment-page-1/#comment-349</link>
		<dc:creator>W@xWe@zel</dc:creator>
		<pubDate>Wed, 02 Nov 2011 21:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=139#comment-349</guid>
		<description>Hi jzeng,

I cannot give you the right code right now (@home and left my laptop @work) but I will try and do this tomorrow. Sure as hell funny that actually today I needed this again to start the WCF Trace Viewer from within Dynamics.
There I needed to pass an argument also so the clue here is to use the set argument method. (psi.set_args or arguments)

But I will try and remember to send you the code tomorrow (or even better, within 11 hours :-) )

kind regards,
Kenny</description>
		<content:encoded><![CDATA[<p>Hi jzeng,</p>
<p>I cannot give you the right code right now (@home and left my laptop @work) but I will try and do this tomorrow. Sure as hell funny that actually today I needed this again to start the WCF Trace Viewer from within Dynamics.<br />
There I needed to pass an argument also so the clue here is to use the set argument method. (psi.set_args or arguments)</p>
<p>But I will try and remember to send you the code tomorrow (or even better, within 11 hours <img src='http://www.ksaelen.be/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
<p>kind regards,<br />
Kenny</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X++ run a process with user credentials by jzeng</title>
		<link>http://www.ksaelen.be/wordpress/2010/04/x-run-a-process-with-user-credentials/comment-page-1/#comment-348</link>
		<dc:creator>jzeng</dc:creator>
		<pubDate>Wed, 02 Nov 2011 20:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ksaelen.be/wordpress/?p=139#comment-348</guid>
		<description>I am trying to encrypt file to be .gpg file.

So you made a good example how to use processstartinfo. But How can I pass command line into cmd.exe in x++?? My code is as the blow:

 psi = new System.Diagnostics.ProcessStartInfo(&quot;C:\\windows\\system32\\cmd.exe&quot;);
        // Start using the runAs property which will prompt for administrator credentials
 psi.set_Verb(&#039;runas&#039;);

    //    psi.set_WorkingDirectory(filePath);

        psi.set_FileName(strfmt(@&#039;gpg&#039;));  //
        //GPG --help in CMD.exe
        // [option -o -r] related topic first before [command - e - k etc.] file
        // sCommandLine = &quot;&#124; gpg -o \&quot;&quot; +
        //                        outputFileNameFullPath + &quot;\&quot; –decrypt \&quot;&quot; +
            //                    @&quot;C:\\Program Files\\GNU\\GnuPG\\test.txt.gpg&quot; + &quot;\&quot;&quot;;
        sCommandLine = strfmt(@&quot;%1%2%3%4%5%6&quot;,
                                      &quot; gpg -r &quot;,
                                      receiptId,
                                      &quot; -o \&quot;&quot;,
                                      strfmt(@&quot;%1&quot;,outputFileNameFullPath),
                                      &quot;\&quot; -e \&quot;&quot;,
                                      strfmt(@&quot;%1&quot;,_fileName));

        psi.set_Arguments(strfmt(&quot;\&quot;%1\&quot;&quot;, sCommandLine));

 psi.set_CreateNoWindow(True);
        psi.set_UseShellExecute(false);
        psi.set_RedirectStandardInput(true);
        psi.set_RedirectStandardOutput(true);
        psi.set_RedirectStandardError(true);
       
        process.set_StartInfo(psi);
        process.Start();
        process.WaitForExit();  -- dead here, always crash AX..</description>
		<content:encoded><![CDATA[<p>I am trying to encrypt file to be .gpg file.</p>
<p>So you made a good example how to use processstartinfo. But How can I pass command line into cmd.exe in x++?? My code is as the blow:</p>
<p> psi = new System.Diagnostics.ProcessStartInfo(&#8220;C:\\windows\\system32\\cmd.exe&#8221;);<br />
        // Start using the runAs property which will prompt for administrator credentials<br />
 psi.set_Verb(&#8216;runas&#8217;);</p>
<p>    //    psi.set_WorkingDirectory(filePath);</p>
<p>        psi.set_FileName(strfmt(@&#8217;gpg&#8217;));  //<br />
        //GPG &#8211;help in CMD.exe<br />
        // [option -o -r] related topic first before [command - e - k etc.] file<br />
        // sCommandLine = &#8220;| gpg -o \&#8221;" +<br />
        //                        outputFileNameFullPath + &#8220;\&#8221; –decrypt \&#8221;" +<br />
            //                    @&#8221;C:\\Program Files\\GNU\\GnuPG\\test.txt.gpg&#8221; + &#8220;\&#8221;";<br />
        sCommandLine = strfmt(@&#8221;%1%2%3%4%5%6&#8243;,<br />
                                      &#8221; gpg -r &#8220;,<br />
                                      receiptId,<br />
                                      &#8221; -o \&#8221;",<br />
                                      strfmt(@&#8221;%1&#8243;,outputFileNameFullPath),<br />
                                      &#8220;\&#8221; -e \&#8221;",<br />
                                      strfmt(@&#8221;%1&#8243;,_fileName));</p>
<p>        psi.set_Arguments(strfmt(&#8220;\&#8221;%1\&#8221;", sCommandLine));</p>
<p> psi.set_CreateNoWindow(True);<br />
        psi.set_UseShellExecute(false);<br />
        psi.set_RedirectStandardInput(true);<br />
        psi.set_RedirectStandardOutput(true);<br />
        psi.set_RedirectStandardError(true);</p>
<p>        process.set_StartInfo(psi);<br />
        process.Start();<br />
        process.WaitForExit();  &#8212; dead here, always crash AX..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

