The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Introduction to Windows Workflow 4.0 And Visual Studio.NET 2010
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Shalini JunejaPosted Jul 11, 2011, 12:08 AM
Useful Article
Eric ManneditedPosted Jan 20, 2011, 4:14 PMEdited Jan 20, 2011, 4:16 PM
Hi John, I tried to get your example workflow application to work but I ran into a problem. When I try to set up the host as it is in your example I get the following error message: Error 1 'Hello_Workflow.Workflow1' does not contain a definition for 'strUserName' and no extension method 'strUserName' accepting a first argument of type 'Hello_Workflow.Workflow1' could be found (are you missing a using directive or an assembly reference?) \\mcso-file01.mcso.local\users\manne\documents\visual studio 2010\Projects\Hello Workflow\Hello Workflow\Program.cs 14 25 Hello Workflow Here is my host code: namespace Hello_Workflow { class Program { static void Main(string[] args) { Workflow1 objWorkflow = new Workflow1(); objWorkflow.strUserName = "Eric Mann"; // This variable is not available WorkflowInvoker.Invoke(objWorkflow); Console.Read(); } } } and my two variables are strGreeting and strUserName, What am I doing wrong or what step did I miss in your example. Any help would be appreciated. Eric Mann
Gymson VientePosted Nov 16, 2010, 3:50 AM
good starting point.!!