Answer Questions
Anuragsh_21 Dialog Box Shadow
Is there any way to get a shadow drawn under a dialog box with no frame. Prior to Vista I used a thin frame, which gives a shadow, but under Vista the thin frame is thick and allows selection and dialog box movement, thus I now have to use no border to get a non-moveable dialog box. In XP, the default window frame size when it is "fixed single" is 1 px. it can be changed to be bigger in XP by going to Display Properties > Appearance > ...Show All
rstuven (State Machine || Sequential Workflow) || (State Machine + Sequential WorkFlow) ??
There has been a lot of talk about State Machines are good for human workflow and the sequential workflows are good for system workflow. I would like to present some issues about the state machine for human workflow and get opinions. First, I agree that human workflows are good for the state machine. First they are easy to understand because there are single state. So “Awaiting Approval”, and ”Completed PO” are easy to und ...Show All
vasuyeleti How to Obtain Fault from child activity in FaultHandler?
How does a child activity obtain access to the Fault captured by a FaultHandler I have a code activity as a child of the FaultHandler. I simply want to spit out the message from the exception that was caught. I tried using the Parent property, expecting that to give me back a reference to the containing FaultHandler, but it was null. The only way I can figure is to add a property to the workflow to store the Fault in through a binding so t ...Show All
StoneTheCrows_ Relation between IfActivity and .Rules file
i have .rules file with different rulesets and different rules in each ruleset. Is there a way to assign a rule in a ruleset to an IfActivity [either in design or in code] The .rules file is a serialization of the instance of the RuleDefinitions class associated with the workflow. The RuleDefinitions class has a Conditions property which is the collection of RuleConditions used in the workflow and a RuleSet ...Show All
Handofphate Firewall outbound exception configuation.
I know that it is possible to configure outbound firewall exceptions with the new 'Windows Firewall with Advanced Security' MMC snap-in. However, how do I configure such exceptions through code The XP SP2 firewall interfaces do not appear to have been extended according to the Vista SDK documentation. Any help would be much appreciated. Mark. Yes, they do. However, the MMC snap-in offers far more configu ...Show All
javajava Unable To Debug WWF Projects
For some reason when I try to debug a WWF project (code debug) by using the start "Debugging -> Start Debugging" menu item, the project builds successfully but does not lauch the program into the debugger. If I run the project by using "Debugging->Start Without Debugging" the application runs fine. Any thoughts Pete Also if you are using custom activites from an assembly other than that of the Workflow library, you ...Show All
tusharp How to detect the video capture device is in use or not?
I built a simple filter graph by adding video capture device filter and render filter to preview the webcam's video frames. It work very well. But i always get a black blank frame in the preview window if another software launch the webcam first. So i want to know beforehand the webcam is in use or not. if there is other software using the device, I think it is necessary to prompt the user to preview later. And i know the IMediaControl's GetStat ...Show All
Aaron Gibbs IBasicVideo::GetCurrentImage
Hi, Simple question, really. I'm writing a DVD Player app, based on the code in the DirectX 9.0 SDK, C++ Sample, 'PlayDVD'. The sample code works great, and I'm using it to test the functionality of other methods available in the various DVD Navigator Interfaces. I also, have a copy of Mark Pesce's book, "Programming Microsoft DirectShow for Digital Video and Television", 2003. Pesce's book includes a chapter in which he explores the opera ...Show All
ptthanh Workflow-Instance-Id within CallExternalMethodActivity?
A Custom Activity MyActivityA (based on SequenceActivity) is contained in another Custom Activity MyActivityB. MyActivityA uses a CallExternalMethodActivity. One of the parameters of the called method is the Instance-Id of the hosting workflow. How do I get the Instance-Id of the workflow within the CallExternalMethodActivity I've tried MyActivityA .WorkflowInstanceId (MyActivityA is derived from SequenceActivity) and WorkflowEnvironment.W ...Show All
lester - MSFT Custom WorkflowScheduler issue - Timed workflows are being scheduled twice
I have implemented a custom WorkflowScheduler to give me control over threading. I am running into issues with timed activities. My sample workflow has alternating code activities and delay activities. When I reload the workflow after the delay has expired, a call to my scheduler service is made to schedule the workflow with timer information. A second call is also made to schedule the workflow without timer information. This causes the ...Show All
Dan D9182 Confusing statement in MSDN article on WWF
In this month's MSDN magazine article on WWF by Don Box and Dharma Shukla there is the following paragraph: " Despite the inherently asynchronous nature of the runtime/activity contract, the runtime will never make concurrent calls to a given activity. Rather, any given activity is guaranteed to have at most one method invocation executing at a given instant. This vastly simplifies the task of writing activities in languages like C# or ...Show All
mr. robot State Machine Workflow
On a State Machine WF I would like to have a state where I execute a code block and move on to the next state. It seems that there are several ways of doing this. I can think of two ways: 1. Add a state. Insert an event into the state. In the event place a delay (zero delay). After the delay place a code block and finally a set state. 2. Add a state. Insert a state initialization. In the state initialization place a code block and final ...Show All
Peelio Does Dec CTP have updated Ink analysis?
Does the Dec CTP of the Windows SDK include the pieces that were in the Mobile and Tablet SDK In particular the new Ink Analysis APIs Jamie, Thanks for the follow-up. By adding IALoader.dll to my references all seems to be working again. I am still trying to figure out the rationale for where things are. Some are in the run-time components, some in the SDK to be copied into the application install, some in ref ...Show All
Kromek TransactionInDoubtException
Source: System.Transactions.TransactionInDoubtException: mscorlib Text: The transaction is in doubt I'm getting the following error is a very specific circumstance and I don't understand why. I've got a single unavoidably long running transaction (~90mins) that I run from a .net component against a SQL Server 2000 database. If I invoke my component from MMC.exe (COM based root) I'll often (eventually) get the above error message. However, i ...Show All
casey7 How to display a Workflow in a Avalon Application?
I try to embed the Workflow Designer to a avalon application. < Mapping XmlNamespace="wfi" ClrNamespace="System.Windows.Forms.Integration" Assembly="WindowsFormsIntegration" > < Mapping XmlNamespace="wf" ClrNamespace="System.Windows.Forms" Assembly="System.Windows.Forms" > <Window x:Class="AvalonWorkflow2.Window1" xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 ...Show All
