<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>patterns &amp; practices - Smart Client Guidance</title><link>http://smartclient.codeplex.com/Project/ProjectRss.aspx</link><description>Welcome to the Community workspace of patterns &amp;#38; practices Smart Client offerings.</description><item><title>New Post: Launch one SCSF Shell from another</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=61095</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks. That was exactly the issue.&lt;/p&gt;
&lt;p&gt;Thanks for the help.&lt;/p&gt;&lt;/div&gt;</description><author>anishrb</author><pubDate>Sun, 05 Jul 2009 20:21:24 GMT</pubDate><guid isPermaLink="false">New Post: Launch one SCSF Shell from another 20090705082124P</guid></item><item><title>New Post: control security in cab</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=61450</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;can give security to workitems, modules for different users????&lt;/p&gt;&lt;/div&gt;</description><author>yemsaib</author><pubDate>Sat, 04 Jul 2009 04:41:17 GMT</pubDate><guid isPermaLink="false">New Post: control security in cab 20090704044117A</guid></item><item><title>New Comment on "Installing the Smart Client Software Factory"</title><link>http://smartclient.codeplex.com/Wiki/View.aspx?title=Installing the Smart Client Software Factory&amp;ANCHOR#C13291</link><description>I tried installing it with VS.Net 2010 Beta 1 &amp;#91;Fresh Install.. nothing installed before&amp;#93;.. it says C&amp;#35; not installed. I have only installed C&amp;#35; and Web Dev .. removed VB.Net, F&amp;#35;, VC&amp;#43;&amp;#43;. Am I missing something,... </description><author>pooran</author><pubDate>Fri, 03 Jul 2009 04:48:12 GMT</pubDate><guid isPermaLink="false">New Comment on "Installing the Smart Client Software Factory" 20090703044812A</guid></item><item><title>New Post: close windows in a tabbed manager workspace</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=61125</link><description>&lt;div style="line-height: normal;"&gt;&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Hi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt 36.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;I have never used the Tabbed Manager Workspace. Assuming it works as normal workspace and you know the Workspace name, a possible way to remove views from it based on a certain condition could be similar to this (I tried the code below with the &lt;strong&gt;TabWorkspace&lt;/strong&gt; that comes with SCSF):&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:35.4pt;margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;var views = this.WorkItem.Workspaces[WorkspaceNames.TabManagerWorkspace].SmartParts;&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt 35.4pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;foreach (var view in views)&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt 35.4pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;{&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:34.2pt;margin:0cm 0cm 0pt 72pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;if(condition)&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:34.2pt;margin:0cm 0cm 0pt 72pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;{&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:34.2pt;margin:0cm 0cm 0pt 107.4pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;this.WorkItem.Workspaces[WorkspaceNames.LeftWorkspace].Close(view);&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:35.4pt;margin:0cm 0cm 0pt 70.8pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;}&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt 35.4pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;}&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt 36.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Please let me know if this helps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt 36pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Damian Schenkelman&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;a href="http://blogs.southworks.net/dschenkelman"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;http://blogs.southworks.net/dschenkelman&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>dschenkelman</author><pubDate>Wed, 01 Jul 2009 17:55:07 GMT</pubDate><guid isPermaLink="false">New Post: close windows in a tabbed manager workspace 20090701055507P</guid></item><item><title>New Post: Launch one SCSF Shell from another</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=61095</link><description>&lt;div style="line-height: normal;"&gt;&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Hi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;When you create a new process in a running application, it runs (by default),&amp;nbsp; in the same working directory. Therefore, a possible cause why you are not able to launch &lt;strong&gt;SolutionB&lt;/strong&gt; could be that it is throwing an exception because it is looking for a file (such as the ProfileCatalog.xml) in &lt;strong&gt;SolutionA&amp;rsquo;s&lt;/strong&gt; directory. If this is the reason all you have to do is change the &lt;strong&gt;WorkingDirectory&lt;/strong&gt; property of the new process before launching it:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:34.2pt;margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;startInfo.WorkingDirectory =&amp;nbsp; @&amp;quot; D:\Anish\DocGenSolution\bin\Debug\&amp;quot;;&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;If you still have this problem, you could try debugging the error thrown by the application in Visual Studio (assuming you have the code). You should be able to check which line is throwing the error in the application, which could help you fix the problem.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Please let me know if this helps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Damian Schenkelman&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;a href="http://blogs.southworks.net/dschenkelman"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;http://blogs.southworks.net/dschenkelman&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>dschenkelman</author><pubDate>Wed, 01 Jul 2009 17:53:14 GMT</pubDate><guid isPermaLink="false">New Post: Launch one SCSF Shell from another 20090701055314P</guid></item><item><title>New Post: close windows in a tabbed manager workspace</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=61125</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I want to loop through all the open window in a tabbed manager workspace and close the window if the filepath of the window in the tabbed manager workspace is specified in a list of specified filepath. Is there any good way of doing that? Please show a sample code snippet to support your udea&lt;/p&gt;
&lt;p&gt;The&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Enumerator&amp;lt;KeyValuePair&amp;lt;string, object&amp;gt;&amp;gt; iterator = (IEnumerator&amp;lt;KeyValuePair&amp;lt;string, object&amp;gt;&amp;gt;)this.WorkItem.SmartParts.GetEnumerator();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Temp view so that the name of the view can be checked&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextEditorView foo = new TextEditorView();&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Loop through all SmartParts to see if a file is being loaded&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (iterator.MoveNext())&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;if (iterator.Current.Value.GetType() == foo.GetType())&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foo = (TextEditorView)iterator.Current.Value;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((foo.FullPath == origPath) &amp;amp;&amp;amp; (foo.Visible == true))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //CLOSE THE VIEW&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;/div&gt;</description><author>connect2sandeep</author><pubDate>Tue, 30 Jun 2009 21:43:39 GMT</pubDate><guid isPermaLink="false">New Post: close windows in a tabbed manager workspace 20090630094339P</guid></item><item><title>New Post: Disconnected Service Agent - Callbacks NEVER CALLED!</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60559</link><description>&lt;div style="line-height: normal;"&gt;&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Hi Trey,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;Based on your first post, as you said the requests make it to the dead letter queue, I assume they are failing to be delivered. &amp;nbsp;One possibility for this &lt;span style="color:#1f497d"&gt;to &lt;/span&gt;happen could be an incorrect &lt;strong&gt;EndPoint&lt;/strong&gt; name (check &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc540768.aspx"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;Endpoint Catalog App Block&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt; for that).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Another possibility to check the problem of the requests could be adding the source code of the DSA that comes with the SCSF instead of the assemblies. Then you can use breakpoints in any line where a request is added to the Deadletter queue (check the &lt;strong&gt;RequestManager&lt;/strong&gt; class, one of the important methods is &lt;strong&gt;DispatchRequestInternal&lt;/strong&gt;).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;I tried this by running &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc540813.aspx"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;DisconnectedServiceAgent (with CAB)&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt; quickstart that comes with the Source Code, without launching the &lt;strong&gt;WebService&lt;/strong&gt; and was able to debug those lines. To run the Quickstart you have to run the source code installer that comes with the factory and open the solution &lt;strong&gt;Quickstarts.DisconnectedServiceAgent.sln&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Please let me know if this helps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Damian Schenkelman&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="font-family:'Calibri','sans-serif';font-size:11pt" lang=EN-US&gt;&lt;a href="http://blogs.southworks.net/dschenkelman"&gt;http://blogs.southworks.net/dschenkelman&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>dschenkelman</author><pubDate>Tue, 30 Jun 2009 18:21:01 GMT</pubDate><guid isPermaLink="false">New Post: Disconnected Service Agent - Callbacks NEVER CALLED! 20090630062101P</guid></item><item><title>New Post: Launch one SCSF Shell from another</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=61095</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am quite new to the SCSF. I&amp;nbsp;am stuck with a typical issue now.&lt;/p&gt;
&lt;p&gt;I have 2 SCSF solutions, lets say SolA and SolB. Now&amp;nbsp;when I run SolA in one of the views there is a button. When I click the button I want to invoke the SolB. Some how its not invoking&amp;nbsp;it.&lt;br&gt;Its just gives a message &amp;quot;Shell has encountered a problem and needs to close. Sorry for the inconvenience.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have been trying the &amp;nbsp;below code on the button click to invoke the second shell. Any help is much appreciated.&lt;/p&gt;
&lt;p&gt;//=======================Code==========================&lt;/p&gt;
&lt;p&gt;static void LaunchCommandLineApp(bool WaitForExit)&lt;br&gt;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Use ProcessStartInfo class&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessStartInfo startInfo = new ProcessStartInfo();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; startInfo.CreateNoWindow = false;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; startInfo.UseShellExecute = false;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; startInfo.FileName = &amp;quot;D:\\Anish\\DocGenSolution\\bin\\Debug\\SolB.exe&amp;quot;;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; startInfo.WindowStyle = ProcessWindowStyle.Normal;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (WaitForExit)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Start the process with the info we specified.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Call WaitForExit and then the using statement will close.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (Process exeProcess = Process.Start(startInfo))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exeProcess.WaitForExit();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Process.Start(startInfo);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(&amp;quot;Process could not be started.&amp;quot;, &amp;quot;Error&amp;quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;}&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>anishrb</author><pubDate>Tue, 30 Jun 2009 17:50:22 GMT</pubDate><guid isPermaLink="false">New Post: Launch one SCSF Shell from another 20090630055022P</guid></item><item><title>New Post: Disconnected Service Agent - Callbacks NEVER CALLED!</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60559</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Also, if I invoke the generated Proxy class directly, it works just fine, so it can't really be the configuration.&amp;nbsp; I have set the Endpoint property in the Agent to the appropriate name.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;HELP!!!!!!!!!!!!!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>sometxdude</author><pubDate>Sat, 27 Jun 2009 04:06:00 GMT</pubDate><guid isPermaLink="false">New Post: Disconnected Service Agent - Callbacks NEVER CALLED! 20090627040600A</guid></item><item><title>New Post: Disconnected Service Agent - Callbacks NEVER CALLED!</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60559</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Also, here are the steps I followed --&amp;gt; http://msdn.microsoft.com/en-us/library/cc540833.aspx&lt;/p&gt;&lt;/div&gt;</description><author>sometxdude</author><pubDate>Thu, 25 Jun 2009 20:27:20 GMT</pubDate><guid isPermaLink="false">New Post: Disconnected Service Agent - Callbacks NEVER CALLED! 20090625082720P</guid></item><item><title>New Post: Disconnected Service Agent - Callbacks NEVER CALLED!</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60559</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Supposedly, these callbacks are registered in the code that is generated by the SCSF.&amp;nbsp; Here is that code:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; /// &amp;lt;summary&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// Enqueues a request to the &amp;lt;c&amp;gt;ItemLookup&amp;lt;/c&amp;gt; web service method through the agent.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;/summary&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;param name=&amp;quot;behavior&amp;quot;&amp;gt;The behavior associated with the offline request being enqueued.&amp;lt;/param&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// &amp;lt;returns&amp;gt;The unique identifier associated with the request that was enqueued.&amp;lt;/returns&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Guid ItemLookup(ItemLookup ItemLookup1, OfflineBehavior behavior)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; behavior.ReturnCallback = new CommandCallback(typeof(Callback), &amp;quot;OnItemLookupReturn&amp;quot;);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; behavior.ExceptionCallback = new CommandCallback(typeof(Callback), &amp;quot;OnItemLookupException&amp;quot;);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return EnqueueRequest(&amp;quot;ItemLookup&amp;quot;, behavior, ItemLookup1);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is obviously trying to use reflection to call those methods on a Callback class.&amp;nbsp; I set breakpoints in those callbacks.&amp;nbsp; I also added Console writelns.&amp;nbsp; And I get nothing.&amp;nbsp; Other methods in the Callback class are called such as EnqueueRequest(...) etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have no meaningful exception that I can see any place.&amp;nbsp; It must be getting caught within the bowels of the framework where I can't see it.&amp;nbsp; I am very new to the SCSF and CAB.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you run the wizard that creates the disconnected service agent, it generates an Agent.cs and Callback.cs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The agent queues the requests and registers the callbacks.&amp;nbsp; Its all generated code, so you would think it would work or throw some obvious exception some place.&amp;nbsp; I'll keep digging :(&amp;nbsp; ...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>sometxdude</author><pubDate>Thu, 25 Jun 2009 20:16:00 GMT</pubDate><guid isPermaLink="false">New Post: Disconnected Service Agent - Callbacks NEVER CALLED! 20090625081600P</guid></item><item><title>New Post: invoke commands manually </title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60507</link><description>&lt;div style="line-height: normal;"&gt;&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Hi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;If by invoking the commands manually you mean invoke them via code, then the answer is yes. All you have to do is get a specific command from the &lt;strong&gt;Workitem&amp;rsquo;s&lt;/strong&gt; command collection and call its &lt;strong&gt;Execute&lt;/strong&gt; method.&lt;strong&gt; &lt;/strong&gt;You can find a small code sample below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:34.2pt;margin:0cm 0cm 0pt"&gt;&lt;span style="font-family:'Courier New';font-size:10pt" lang=EN-US&gt;workItem.Commands[&lt;span style="color:#30332d"&gt;&amp;quot;&lt;/span&gt;CommandID&lt;span style="color:#30332d"&gt;&amp;quot;&lt;/span&gt;].Execute();&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Please let me know if this helps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Damian Schenkelman&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;a href="http://blogs.southworks.net/dschenkelman"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;http://blogs.southworks.net/dschenkelman&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>dschenkelman</author><pubDate>Thu, 25 Jun 2009 18:39:00 GMT</pubDate><guid isPermaLink="false">New Post: invoke commands manually  20090625063900P</guid></item><item><title>New Post: Disconnected Service Agent - Callbacks NEVER CALLED!</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60559</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you subscribe to the callback method?&lt;/p&gt;
&lt;p&gt;For example.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Callback.GetAllRowsReturn += Callback_GetAllRowsReturn;&lt;/p&gt;
&lt;p&gt;Callback.GetAllRowsException += Callback_GetAllRowsException;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards, Carlo.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>cdiban</author><pubDate>Wed, 24 Jun 2009 21:11:55 GMT</pubDate><guid isPermaLink="false">New Post: Disconnected Service Agent - Callbacks NEVER CALLED! 20090624091155P</guid></item><item><title>New Post: Disconnected Service Agent - Callbacks NEVER CALLED!</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60559</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For some reason, my Callback methods (the exception callback and the regular one representing success) are never called.&amp;nbsp; I used the SCSF wizard to create a disconnected service agent on an Amazon web service.&amp;nbsp; Here are some facts:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Request manager is set up and set to auto-dispatch.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; The requests actually make it into the Request table and also the Dead Letter Queue.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; There appears to be no meaningful stacktrace indicating where or what the problem is.&amp;nbsp; I don't know where to catch the exception because the exception callback is never called.&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp; I double checked the callback method signatures (they're properly named and public).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So I cannot get any callback information, yet the Requests are being enqueued.&amp;nbsp; They end up moving from the Requests table to the Dead Letter table almost immediately.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Is there some other good place I can set a breakpoint other than the Callback.cs class so I can see what the problem is with the request?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Trey&lt;/p&gt;&lt;/div&gt;</description><author>sometxdude</author><pubDate>Wed, 24 Jun 2009 19:49:34 GMT</pubDate><guid isPermaLink="false">New Post: Disconnected Service Agent - Callbacks NEVER CALLED! 20090624074934P</guid></item><item><title>New Post: invoke commands manually </title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60507</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to invoke commands through code. Please show me a snippet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</description><author>connect2sandeep</author><pubDate>Wed, 24 Jun 2009 10:00:33 GMT</pubDate><guid isPermaLink="false">New Post: invoke commands manually  20090624100033A</guid></item><item><title>New Post: disconnected agent help please</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=11475</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Winger,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What did you put in place of the empty string for the Endpoint?&amp;nbsp; I notice that my Request objects all have blank string for an Endpoint as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Trey&lt;/p&gt;&lt;/div&gt;</description><author>sometxdude</author><pubDate>Wed, 24 Jun 2009 04:52:03 GMT</pubDate><guid isPermaLink="false">New Post: disconnected agent help please 20090624045203A</guid></item><item><title>New Post: exception while firing an event that adds a view</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60398</link><description>&lt;div style="line-height: normal;"&gt;&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-family:Calibri"&gt;&lt;span style="font-size:small"&gt;Hi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-family:Calibri"&gt;&lt;span style="font-size:small"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-family:Calibri"&gt;&lt;span style="font-size:small"&gt;A possible reason why this could be happening is if you have an EventTopic and a Command registered with the same name in the Workitem hierarchy. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-family:Calibri"&gt;&lt;span style="font-size:small"&gt;The following thread explains this issue with some more detail:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-indent:-18pt;margin:0cm 0cm 0pt 36pt"&gt;&lt;span style="font-family:Symbol" lang=EN-US&gt;&lt;span style=""&gt;&lt;span style="font-size:small"&gt;&amp;middot;&lt;/span&gt;&lt;span style="font:7pt &amp;quot;Times New Roman&amp;quot;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang=EN-US&gt;&lt;a href="http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=58518"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;so confused exeption: InvalidCastException in smart client&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Please let me know if this helps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt -0.6pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;span style="font-size:small"&gt;&lt;span style="font-family:Calibri"&gt;Damian Schenkelman&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="" lang=EN-US&gt;&lt;a href="http://blogs.southworks.net/dschenkelman"&gt;&lt;span style="font-family:Calibri;font-size:small"&gt;http://blogs.southworks.net/dschenkelman&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>dschenkelman</author><pubDate>Tue, 23 Jun 2009 22:21:30 GMT</pubDate><guid isPermaLink="false">New Post: exception while firing an event that adds a view 20090623102130P</guid></item><item><title>New Post: exception while firing an event that adds a view</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60398</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am getting the following error while adding a view in a module that is by invoking an event in from another module. Please help&lt;/p&gt;
&lt;p&gt;The following is the error message&lt;/p&gt;
&lt;p&gt;Unable to cast object of type 'Microsoft.Practices.CompositeUI.EventBroker.EventTopic' to type 'Microsoft.Practices.CompositeUI.Commands.Command'.&lt;/p&gt;
&lt;p&gt;{System.InvalidCastException: Unable to cast object of type 'Microsoft.Practices.CompositeUI.EventBroker.EventTopic' to type 'Microsoft.Practices.CompositeUI.Commands.Command'.&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.Get(String id, SearchMode searchMode, Boolean filtered)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.Get(String id, SearchMode searchMode, Boolean filtered)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.get_Item(String id)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.BuilderStrategies.CommandStrategy.RegisterCommandHandlers(IBuilderContext context, WorkItem workItem, Object target, String targetID, MethodInfo methodInfo)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.BuilderStrategies.CommandStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.BuilderStrategies.EventBrokerStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.MethodExecutionStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.PropertySetterStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.CreationParameter.GetValue(IBuilderContext context)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.PropertySetterInfo.GetValue(IBuilderContext context, Type type, String id, PropertyInfo propInfo)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.PropertySetterStrategy.InjectProperties(IBuilderContext context, Object obj, String id)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.PropertySetterStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.BuildFirstTimeItem(Type typeToBuild, String idToBuild, Object item)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.Build(Type typeToBuild, String idToBuild, Object item)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.AddNew[TTypeToBuild]()&lt;br&gt;&amp;nbsp;&amp;nbsp; at******************************************************.AddView(String fileName, String fullPath) in ****************************************&lt;/p&gt;&lt;/div&gt;</description><author>connect2sandeep</author><pubDate>Tue, 23 Jun 2009 15:20:42 GMT</pubDate><guid isPermaLink="false">New Post: exception while firing an event that adds a view 20090623032042P</guid></item><item><title>New Post: If 2 views reside across 2 different modules, one view cannot load another view</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60066</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I thought you put the event subscription in the View class not the presenter. Nevermind then. I'm not sure if the presenter or view can receive events if it has been added to the WorkItem SmartPart&amp;nbsp;collection but not shown in any workspace. You could do a simple test after you get your thing working.&lt;/p&gt;
&lt;p&gt;I suggest you start with the simplest scenario to test your BM to BM communication.&lt;/p&gt;
&lt;p&gt;In your ModuleController you should have an override method Run. Put an event fire as the last line:&lt;span style="font-size:x-small"&gt;&lt;span style="font-size:x-small"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;EventTopicNames.SomeViewLoad].Fire(&lt;span style="color:Blue"&gt;this&lt;/span&gt;, EventArgs.Empty, WorkItem, PublicationScope.Global);
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small"&gt;In the other BM's ModuleController class put the event subscription code as a new method:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;EventSubscription(EventTopicNames.SomeViewLoad, Thread = ThreadOption.UserInterface)]
&lt;span style="color:Blue"&gt;private&lt;/span&gt; &lt;span style="color:Blue"&gt;void&lt;/span&gt; SomeViewLoad(&lt;span style="color:Blue"&gt;object&lt;/span&gt; sender, EventArgs e)
{
    System.Diagnostics.Debug.WriteLine(&lt;span style="color:#A31515"&gt;&amp;quot;WORKS!&amp;quot;&lt;/span&gt;);
}&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;If both modules get loaded when you start your application then you should have the print out in the Output console.&lt;/p&gt;
&lt;p&gt;I also suggest you setup a CAB Workitem Visualizer. Just put the dll where your binaries are and add the neccessary lines to&amp;nbsp;your app config and when you run your app you will get a window that shows you the workitem hierachy and&amp;nbsp;an event log. You can get it here &lt;a href="http://www.codeplex.com/WorkItemVisualizer/Release/ProjectReleases.aspx?ReleaseId=13395"&gt;http://www.codeplex.com/WorkItemVisualizer/Release/ProjectReleases.aspx?ReleaseId=13395&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good luck&lt;/p&gt;
&lt;p&gt;P.S. Post formatting = FAIL&lt;/p&gt;&lt;/div&gt;</description><author>PolarBear2k</author><pubDate>Tue, 23 Jun 2009 15:06:27 GMT</pubDate><guid isPermaLink="false">New Post: If 2 views reside across 2 different modules, one view cannot load another view 20090623030627P</guid></item><item><title>New Post: If 2 views reside across 2 different modules, one view cannot load another view</title><link>http://smartclient.codeplex.com/Thread/View.aspx?ThreadId=60066</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks Polar for ur response..&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How can View2 load itself&lt;/strong&gt;&lt;br&gt;Well, what we are trying to do here is to load View2 on a button_click present in View1. So question of View2 loading itself doesn't arise.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It can't receive the event if if haven't been created yet.&lt;/strong&gt;&lt;br&gt;Well, do you mean to say that as because View2 has not been shown in a workspace as yet, View2 presenter has not been instantiated. ( !!!!! Is it ??? ) We say this because we have subscribe the event in the presenter of View2.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Put the View2 event subscription in BM2 as is and it will work.&lt;/strong&gt;&lt;br&gt;Now here is a question; where in BM2 you are asking to put the event subscription, i mean to say are u referring to the module controller. If so then we assure you that we have tried the same without any results. So if you could pls. come up with some egs it would be of immense help..&lt;/p&gt;
&lt;p&gt;Eagerly waiting for ur response.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>sudiptagc</author><pubDate>Tue, 23 Jun 2009 06:03:23 GMT</pubDate><guid isPermaLink="false">New Post: If 2 views reside across 2 different modules, one view cannot load another view 20090623060323A</guid></item></channel></rss>