Windows Workflow Foundation 3


WF Virgin


Dear One & All,
As my subject says, I'm a WF Virgin. Having read many an article on the principles of WF, I'm keen to start developing with it. Can anyone point me in the direction of some good simple examples of using WF in dotNet2, preferably in VB.NET. I’ve downloaded quite a few, but most either seem to be for Beta1, or I’m missing the odd reference here and there.
Many Thanx in advance,
Tim
 
Take a look at the sample in Samples.zip which can be found under %ProgramFiles%\Microsoft SDKs\Windows Workflow Foundation\, if you have the VS Extensions for Windows Workflow Foundation installed.  Most of the samples in the Technologies directory have a VB and C# version.
In the workflow designer, select the "ifNeedsleadApproval" activity;In the property page , click on "Condition", select "code condition", select"DetermineApprovalContact".In the code, remove "Handles ifElseLogicStatement.Condition".Run the application
Hope this helps
Serge Luca Guidance, Belgium   blog: www.redwood.be
Take a look at the sample in Samples.zip which can be found under %ProgramFiles%\Microsoft SDKs\Windows Workflow Foundation\, if you have the VS Extensions for Windows Workflow Foundation installed.  Most of the samples in the Technologies directory have a VB and C# version.
Many thanx, unzipping as we type.
Tim.
WF virgin unzipping as we type? never knew coding was this fun ;-)
DotNetRocks TV also has some recent episodes focusing on WF that were very helpful to me.See www.dnrtv.com for more info.
Hi, All zipped up again.
I've got a problem with trying out their first soln (from the microsoft site)  
After entering in their code and/or copying in their examples, when I try to build the app # the very end, I'm getting the following error with this bit of code.
ERROR: (The error refers to the bit of code in red).  
Error 2 Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\SimpleExpenseReport\VB\SimpleExpenseReport\SimpleExpenseReport.vb 138 60 SimpleExpenseReport
CODE:
Private Sub DetermineApprovalContact(ByVal sender As Object, _
ByVal e As ConditionalEventArgs) Handles ifElseLogicStatement.condition
If Me._amount < 1000 Then
e.Result = True
Else
e.Result = False
End If
End Sub
Has anyone else experienced this problem ? if so what's the soultion ?
Thanx,
 
 
 
 
 
In the workflow designer, select the "ifNeedsleadApproval" activity;In the property page , click on "Condition", select "code condition", select"DetermineApprovalContact".In the code, remove "Handles ifElseLogicStatement.Condition".Run the application
Hope this helps
Serge Luca Guidance, Belgium   blog: www.redwood.be
Thanks Serge.
Now we're flying !
Hope this will be of help to any other virgins out there !
Tim
 

Related Links

How can I designate string[] field as returnValue for ReceiveActivity?
is the "workflows in memory" performance counter failing to be reset?
Creating a workflow dynamically
writing non-persistance data to Oracle from a workflow app
Is Workflow Foundation a good fit for multiple workflow processes
The workflow failed validation
Can SQL compact edition be used for persistence and tracking storage?
Invoking multiple web service using InvokeWebServiceActivity combined with transaction
Workflow, HandleExternalEvent and WCF
XOML Only - How to change an integer in the argument dictionary
WorkflowTheme Exception
Pass in parameters to declarative workflow
WorkflowOutline
Workflow Correlation
How do I get the singleton instance of an "InstanceContextMode.Single" from wcf plumbing?
Correlation in a state machine workflow, where each state handles N distinct events?

Categories

MSDN
Using Forums
Microsoft Robotics
Smart Device Development
SQL Server (Pre-release)
Bing
Exchange Server
Expression
Project
Archived Forums T-U
Archived Forums Visual...
Archived Forums W
Windows Phone Preview ...
Kinect for Windows SDKs
Announcements for all ...
Suggestions and Feedba...
Visual Studio Editor
Visual Studio LightSwi...
Visual Studio Tools fo...
Developing Universal W...
Payouts and Reporting
Microsoft Message Queu...
Windows Desktop Ribbon...
Access for Developers
Excel for Developers
SharePoint 2013 - Usin...
SharePoint 2013 - Setu...
SharePoint 2010 - Search
SharePoint Legacy Vers...
Service Bus
Azure Cache
Azure Batch
Language Understanding...
Team Foundation Server...
Team Foundation Server...
BizTalk Server Adapter...
BizTalk ESB Toolkit
Commerce Server 2009
TPL Dataflow
Microsoft Robotics - C...
Microsoft Robotics - D...
Microsoft Robotics - H...
SQL Server Data Access
SQL Server XML
SQL Service Broker
SQL Server Security
SQL Server Documentation
SQL Server Setup & Upg...
SQL Server Data Wareho...
SQL Server Samples and...
SQL Server 2012 Master...
Windows Forms Data Con...
Windows Live General: ...
WebsitePanel - Enterpr...
MSDN Magazine
Microsoft Unified Comm...
Microsoft Unified Comm...
Getting Started with S...
Report a Silverlight Bug
Managed Extensibility ...
Retired SharePoint Acc...
.NET Framework Network...
.NET StockTrader Sampl...
Archived: Software Tes...
Building Windows Store...
Charts & Reports in th...
Deep Zoom Composer
Direct3D 10
Dryad, DSC, and DryadL...
Chart Controls for .NE...
Hobbyist Zone
LINQ Project General
Microsoft ESP Platform...
Model-Based Testing wi...
Monitor, Alert and Aut...
Network Quality of Ser...
NUI API and Programmin...
SQL Creation
SQL Server 2014 Databa...
SQL Server 2014 Analys...
SQL Server 2014 Integr...
Team Foundation Server...
Using Visual Round Tri...
TFS Deployment to Azure
Visual Studio 2008 SP1...
Visual Studio Lab Mana...
Visual Studio Web Perf...
Visual Studio WPF/SL D...
Windows CardSpace ('In...
Windows Live Search: D...
OneDrive Development (...
Microsoft R Server
Cortana Skills Kit

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile