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

WCSF PageFlow
front end
Dynamic Workflow Creation
ApplyworkflowChanges takes long time and some time crashes the application.
CLR20r3 Error when i run exe file (C#)
Process is terminated due to StackOverflowException
HandleExternalEvent: event filter / correlation
SqlTrackingService & User Events
How to change the sendemail activity property at run time?
Question on Queue Management
Load rules in the Designer Rehosting demo
IExtendedUIService must be installed
Does WF support transactions?
After wf receives external event, the host never sees any more tracking events
How to implement Unit test in a Sequential workflow
data exchange between workflow activities

Categories

MSDN
Windows Phone Development
.NET Framework
Windows Embedded Standard
ScriptJunkie
Development
Bing Maps
Archived Forums A-B
In-App Advertising (Ad...
Archived Forums
MSDN and TechNet Profi...
Visual C++
Visual Studio Setup an...
AdSDK Integration & Ad...
DirectShow Development
Open XML Format SDK
SharePoint 2013 - Setu...
SharePoint Legacy Vers...
Azure Active Directory
Azure BizTalk Services
Azure Mobile Apps
Microsoft Azure Site R...
Azure HDInsight
Azure DocumentDB
Azure Stack
Common Language Runtim...
Windows Communication ...
Team Foundation Server...
Team Foundation Server...
Code Contracts
The Forum of Sho
HealthVault Developer
Microsoft Robotics - S...
Visual Studio Smart De...
.NET Framework inside ...
SQL Server Replication
Power Pivot
SQL Server Manageability
SQL Server Distributed...
Standard 2009: Misc
SQL Server 2012 PowerP...
SQL Server 2012 PowerP...
SQL Server 2012 Report...
Bing Maps General
Bing Maps for Windows ...
Project Server General...
Exchange Server Develo...
Microsoft Lync Client ...
Accessing Web Services...
Expression Studio with...
Windows Performance To...
Acropolis
Archived: Software Tes...
Azure Startups
Building Windows Store...
CAT.NET
Commerce Server 2002 a...
Doloto
Game Technologies: Dir...
General Windows MultiP...
HD DVD Interactivity A...
Face Tracking – Kinect...
ISV Community Days
LINQ Project General
LightSwitch HTML Clien...
Parallel Computing Pla...
Performance Counters f...
NUI API and Programmin...
Storage Platform – ATA
SyncFx - Technical Dis...
UI Design for Windows ...
Visual Basic Interop a...
Visual C# Express 2008...
Visual C# Language
Visual C++ Express Edi...
Visual Studio 2008 Exp...
Visual Studio Lab Mana...
Visual Studio LightSwi...
Web Sandbox - Exploits
Windows Events
Windows MultiPoint Mou...
Expression Blend for W...
XNA Framework
XNA Game Studio Express
Reporting
Windows Phone Preview ...
SQL Server 2016 Preview
Maps In Windows - APIs
Microsoft R Open
Cortana Skills Kit

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile