<?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 on: Windows CE Task Manager Sample App</title>
	<atom:link href="http://blog.theroyweb.com/windows-ce-task-manager/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.theroyweb.com/windows-ce-task-manager</link>
	<description>Sorry, never heard of the guy</description>
	<lastBuildDate>Tue, 03 Aug 2010 16:36:28 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mbg</title>
		<link>http://blog.theroyweb.com/windows-ce-task-manager/comment-page-1#comment-39</link>
		<dc:creator>Mbg</dc:creator>
		<pubDate>Wed, 23 Dec 2009 07:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.theroyweb.com/blog_priv/?p=26#comment-39</guid>
		<description>This might sound stupid, but why don&#039;t you have App A start App B (step 2) and then have App A close itself?

So, in 2 (VB.Net syntax):
Process.Start(PathToAppB &amp; &quot;AppB.exe&quot;, &quot;Parameter 1&quot;)
Me.Close()

If you start an app with the above command, that app will run independently from the starting app. Closing the creating app (say, A) will not terminate the new app (say, B).

Good luck.</description>
		<content:encoded><![CDATA[<p>This might sound stupid, but why don&#8217;t you have App A start App B (step 2) and then have App A close itself?</p>
<p>So, in 2 (VB.Net syntax):<br />
Process.Start(PathToAppB &amp; &#8220;AppB.exe&#8221;, &#8220;Parameter 1&#8243;)<br />
Me.Close()</p>
<p>If you start an app with the above command, that app will run independently from the starting app. Closing the creating app (say, A) will not terminate the new app (say, B).</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali</title>
		<link>http://blog.theroyweb.com/windows-ce-task-manager/comment-page-1#comment-33</link>
		<dc:creator>Ali</dc:creator>
		<pubDate>Wed, 21 Oct 2009 05:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.theroyweb.com/blog_priv/?p=26#comment-33</guid>
		<description>Hi, currently I&#039;m creating 2 applications (app A and B) for Windows Mobile 5.0 and using Compact Framework 2.0. App A is the main application and B is the sub application. 

Below is the flow:
1. Start app A.
2. App A will start app B.
3. App B will do some process.
4. App B will kill app A.
5. App B will patch/upgrade app A. (ala update manager)
6. App B will restart app A.
7. App B will exit.


Now I&#039;m stuck in killing app A. I did tried using OpenNETCF ProcessEntry Kill() function. When calling Kill(), it made the device crash.

I did tried using the SendMessage(hWnd, WM_CLOSE, 0, 0) funct where WM_CLOSE will have the ProcessEntry.ProcessID value and I didn&#039;t assigned any value to hWnd variable. But it didn&#039;t terminate app A. Did I assign the wrong value?

I also did tried using
Process.GetProcessById(processEntry.ProcessID).CloseMainWindow(), but failed as GetProcessById only accepts int32 value. Note that processEntry.ProcessID value is larger than int32 value.

Could you help me in killing app A through app B?
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, currently I&#8217;m creating 2 applications (app A and B) for Windows Mobile 5.0 and using Compact Framework 2.0. App A is the main application and B is the sub application. </p>
<p>Below is the flow:<br />
1. Start app A.<br />
2. App A will start app B.<br />
3. App B will do some process.<br />
4. App B will kill app A.<br />
5. App B will patch/upgrade app A. (ala update manager)<br />
6. App B will restart app A.<br />
7. App B will exit.</p>
<p>Now I&#8217;m stuck in killing app A. I did tried using OpenNETCF ProcessEntry Kill() function. When calling Kill(), it made the device crash.</p>
<p>I did tried using the SendMessage(hWnd, WM_CLOSE, 0, 0) funct where WM_CLOSE will have the ProcessEntry.ProcessID value and I didn&#8217;t assigned any value to hWnd variable. But it didn&#8217;t terminate app A. Did I assign the wrong value?</p>
<p>I also did tried using<br />
Process.GetProcessById(processEntry.ProcessID).CloseMainWindow(), but failed as GetProcessById only accepts int32 value. Note that processEntry.ProcessID value is larger than int32 value.</p>
<p>Could you help me in killing app A through app B?<br />
Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
