Answer Questions
JDaniel Speed difference between GraphEdit and custom application
Hi, wonder if anyone has encountered this problem. I have a custom transformation filter, which runs basic thresholding computer vision algorithms. In GraphEdit, it uses 47% of CPU capacity and runs very fast, but when loaded into my custom application, uses 99% of CPU capacity and runs very slow. I use an Acer Travelmate 8104 2GHz Centrino. The obvious culprit is the application, which I initially wrote in C# using DirectShowLib from sourcef ...Show All
Kylin.Sandfield synchronizing with workflow thread
Hello, Is there any way to synchronize the execution thread, the one that raises events received by some eventsink activities, with the workflow thread I mean, synchronizing the first one with the finalization of the handler associated with the eventsink activity... Regards, M Hello Arjun, Ok, suppose that I use a method invoke. When do I know that it has fin ...Show All
Poofy Policy rules execution results
Using Feb CTP. I defined a Policy which reads its rules from XML. After Execution of the Policy it correctly maps the result of the ThenAction of the rules to properties defined in the workflows. This works fine. However, I do not want the make the code in the workflow aware of the name of the thenaction. If I have a new rule, I the have to change and compile the code again. I rather want to check the results after policy execution and loo ...Show All
Yacine Benahmed How to pass parameters from one activity to another?
Hi, I am new to WWF. I am trying to create an Submit Request --> Approve/Reject Request workflow of type Sequential Workflow. I have an EventDrivenActivity in which there are 2 activities HandleExternalEvent that waits for user's approval and a CallExternalMethodActivity called ApproveRequest that will update the database. Here, I have created an event handler and defined properties like [Serializable] public class UpdateRequestArg ...Show All
Glagoleva Natalia Where is the WorkflowMessageEventArgs gone?
Hi Guys, I used the WorkflowMessageEventArgs in beta 1.2, is there anybody who can tell me in what namespace it's hidden in beta 2 thanks, Bernard Messaging namespace has gone and the local communications functionality has been moved to Activities namespace. If your code looked like this in Beta 1.2 using System.Workflow.Runtime.Messaging; It would look like this in Beta 2.0 using System.Workflow.Activities; WorkflowMessage ...Show All
wiertmir Raising Events - not! in WFs exposed via WS - help pls.....
Hi fellow WF'ers Strange things are happening and I hope someone here can shed some light. If I set my solution up as a Console App - all works cool and we're off to the pub (early!) If I run my solution as an exposed WS - the wheels fall off as follows. 1) I've got a 'host' sequential workflow (4 shapes, very simple) that receives the request via a WS call. This guy will fire up another workflow (statebased) and Raise an event, wait ...Show All
Muntaser How to measure the AVIMix filter output file size?
Hi there: Is there a smart, simple way to measure the output file size from AVIMIX filter or Anyway to get the output AVI file size real-time (when the graph is running ) What I can imagine is to build a dummy filter that transfer the input to output pin directly and just calculate the passed data size. But it seems a little work need to be done. Is there any simpler way Any comment is greatly welcome! Thanks in advance! Quentin ...Show All
MIKEDBA Does will work the WorkFlow Designer on VSTA IDE?
Hi, Does will work the WorkFlow Designer on VSTA IDE The WF extensions only work for non 'Express' based SKUs of Visual Studio 2005. I believe VSTA is based on an Express version of VS and thus WF won't install the VS extensions. Hi, The workflow designer is not part of the VSTA IDE, but if you have a host application that has implemented VSTA you may be able to use VSTS to create VSTA add-ins. ...Show All
Quinn Dexter DTC help
Hello everibody, we've written an application in order to use Distributed Transactions in our software modules. At the end of this message we've added the content of an email message with all our questions related to DTC-APIs We've prepared some additional questions: 1 In our system we have three machines, the first machine is used to open, commit or rollback the transaction, the second is used to perform several methods(receiving cookie a ...Show All
Ms_d Various comments on Default application projects
I've been playing a bit with beta 1 and beta 1.2 and there are a few things I'm not very comfortable with in the default code generated when you create a new Workflow project (C#). For example, the default exe projects (e.g. sequential workflow console application) have absolutely no error handling at all. Now, I'm assuming that many people might just fail to notice this and either use the generated code in Program.Main as is or with little mod ...Show All
Josh Heitzman - MSFT Security error hosting the WWF designer in a WinForm UserControl hosted in an ASP.NET page
We've taken Lab 12 Exercise 1 and applied the same steps to create a WinForm UserControl that hosts the WWF designer. We're now trying to host the WinForm User Control (with the embedded WWF Designer) in an ASP.NET page using <object> tags. We're current getting the following error. Does anyone know a quick&dirty way to get pass this System.Security.SecurityException: That assembly does not allow partially trusted ...Show All
Ji Zhang SETUP.EXE throwing unhandled exception while installing Vista
Hi world, I am trying to install Windows Vista Beta 1 on a XP box and planning to make it a dual boot. XP is on C: drive (20 GB) and I want Vista on E: drive (20 GB). I uninstalled the Anti-virus on the machine for this installation. I downloaded en_longhorn_beta1_dvd.iso from MSDN and burnt it on a DVD. After inserting the DVD and starting SETUP.EXE I click the 'Install Windows' icon. After entering the license information, i click next. Now, W ...Show All
Demann Adding activities to a workflow at runtime
Forgive my newbieness... I've searched the forums for something along these lines, but haven't found anything. Is it possible to add activities to a workflow at runtime I'm attempting to add the activity from within a Code activity per the way activities are added in the designer.cs: private void codeActivity2_ExecuteCode(object sender, EventArgs e) { HelloActivity helloActivity = new HelloActivity(); helloActivity.Name = "helloActivit ...Show All
The MAZZTer Alpha-Blended DirectX Overlay
Hi, I would like to create an overlay with a surface that overlays another surface. The specific application is to take the video rendered from a AX control drawing using DX, then create an menu overlay with another DX surface and have the menu alpha-blended over the video surface. So far I have tried a transparent dialog box, but the video underneith flickers as the region is invalidated. The overlay box fades in and out perfectly, b ...Show All
Serhat41 Rule Revaluation
if we give same rule condition for two ifActivities then is it possible to skip the rule at ifelseActivity2 if value is same otherwise it should evalauate again at Ifactivity2. Scenario: 1) I put one ifelseActivity1 and placed two code Activities in two else branches. 2) and placed another ifelseActivity2 and placed two code activities in two else branches. 3) and placed one codeActivity after second If Activity. (codeActivity5) f ...Show All
