<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://imason.com/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>Jim @ imason - All Comments</title><link>http://imason.com/imason_Blogs/b/jim_schwartz/default.aspx</link><description>Internet Architect by day, environmentalist by night: Jim Schwartz @ imason.</description><dc:language>en</dc:language><generator>Telligent Evolution 5.0 (Build: 40623.6204)</generator><item><title>re: Larry Smith Economics</title><link>http://imason.com/imason_Blogs/b/jim_schwartz/archive/2008/12/22/larry-smith-economics.aspx#1419</link><pubDate>Thu, 04 Jun 2009 13:54:41 GMT</pubDate><guid isPermaLink="false">ba1d72eb-a51c-4157-8cec-718d26de3334:1419</guid><dc:creator>lfan</dc:creator><description>&lt;p&gt;As one of his former student&amp;#39;s I can easily say that his lectures are as entertaining, if more, than those quotes. His lecture is 3 hours at a time and everyone listens to him speak, religiously. People travel from all neighbouring regions in order to hear his lectures. His lecture halls are always full. Overall, he is one of those people that you never forget.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://imason.com/aggbug.aspx?PostID=1419" width="1" height="1"&gt;</description></item><item><title>re: Silverlight in Desktop Applications</title><link>http://imason.com/imason_Blogs/b/jim_schwartz/archive/2008/08/13/silverlight-in-desktop-applications.aspx#1415</link><pubDate>Wed, 03 Jun 2009 06:20:17 GMT</pubDate><guid isPermaLink="false">ba1d72eb-a51c-4157-8cec-718d26de3334:1415</guid><dc:creator>Pooran</dc:creator><description>&lt;p&gt;Why and where you will be needing a VB6 shim? What is the advantage?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://imason.com/aggbug.aspx?PostID=1415" width="1" height="1"&gt;</description></item><item><title>re: Rehydrating a State Machine Workflow</title><link>http://imason.com/imason_Blogs/b/jim_schwartz/archive/2009/03/06/rehydrating-a-state-machine-workflow.aspx#1279</link><pubDate>Mon, 27 Apr 2009 12:08:15 GMT</pubDate><guid isPermaLink="false">ba1d72eb-a51c-4157-8cec-718d26de3334:1279</guid><dc:creator>ahmad yousefi</dc:creator><description>&lt;p&gt;What about StateFinalizationActivity in Initial State and StateInitializationActivity in TargetState (RestoringState)? It means you must add IfElseActivity in all StateFinalizationActivity and StateInitializationActivity.&lt;/p&gt;
&lt;p&gt;I think applying dynamic update is better solution.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://imason.com/aggbug.aspx?PostID=1279" width="1" height="1"&gt;</description></item><item><title>re: Rehydrating a State Machine Workflow</title><link>http://imason.com/imason_Blogs/b/jim_schwartz/archive/2009/03/06/rehydrating-a-state-machine-workflow.aspx#1271</link><pubDate>Thu, 23 Apr 2009 13:12:56 GMT</pubDate><guid isPermaLink="false">ba1d72eb-a51c-4157-8cec-718d26de3334:1271</guid><dc:creator>venkatesh</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I have created the sample state machine workflow in asp.net by VB code, with two states. the first state has state initialization and event driven activity, and the second state has state initialization. when start the workflow, it works fine at the initial state. when i raise a event using the handle external event activity it doesn&amp;#39;t move to next state.&lt;/p&gt;
&lt;p&gt;I know that i have made a mistake, but couldn&amp;#39;t able to trace. could you help me.&lt;/p&gt;
&lt;p&gt;here is the code&lt;/p&gt;
&lt;p&gt;&amp;lt;ExternalDataExchange()&amp;gt; _&lt;/p&gt;
&lt;p&gt;Public Interface ICodeset&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Event Add As EventHandler(Of ExternalDataEventArgs)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Sub PageGoTo(ByVal args As CodesetEventArgs)&lt;/p&gt;
&lt;p&gt;End Interface&lt;/p&gt;
&lt;p&gt;&amp;lt;Serializable()&amp;gt; _&lt;/p&gt;
&lt;p&gt;Public Class Codeset&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Implements ICodeset&lt;/p&gt;
&lt;p&gt;	Public Event Add(ByVal sender As Object, ByVal e As System.Workflow.Activities.ExternalDataEventArgs) Implements ICodeset.Add&lt;/p&gt;
&lt;p&gt;	Public Sub OnAdd(ByVal instanceId As Guid)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;	Dim args As New ExternalDataEventArgs(instanceId)&lt;/p&gt;
&lt;p&gt;	 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RaiseEvent Add(Nothing, args)&lt;/p&gt;
&lt;p&gt;	End Sub&lt;/p&gt;
&lt;p&gt;End Class&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Protected Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim instance As WorkflowInstance&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;instance = workflowRuntime.CreateWorkflow(GetType(WorkflowLibrary.Codeset))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;instance.Start()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Session(&amp;quot;InstanceID&amp;quot;) = instance.InstanceId&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RunWorkflow(instance.InstanceId)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim str As String = instance.InstanceId.ToString&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RunWorkflow(instance.InstanceId)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;objCodeset = New DataAccessLayer.Codeset&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;objCodeset.OnAdd(instance.InstanceId)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RunWorkflow(instance.InstanceId)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End Sub&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Venkatesh&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://imason.com/aggbug.aspx?PostID=1271" width="1" height="1"&gt;</description></item><item><title>re: NAnt, SharePoint and Production Deployments</title><link>http://imason.com/imason_Blogs/b/jim_schwartz/archive/2009/02/03/nant-sharepoint-and-production-deployments.aspx#1245</link><pubDate>Tue, 14 Apr 2009 14:29:10 GMT</pubDate><guid isPermaLink="false">ba1d72eb-a51c-4157-8cec-718d26de3334:1245</guid><dc:creator>James Schwartz</dc:creator><description>&lt;p&gt;Piet, NAnt doesn&amp;#39;t come with tasks that are built for SharePoint. It is however easy to build NAnt tasks, so I have developed my own tasks that I&amp;#39;ve used with SharePoint. Perhaps in a future post I could share some of that code with the world.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://imason.com/aggbug.aspx?PostID=1245" width="1" height="1"&gt;</description></item></channel></rss>