Answer Questions
Thomas LEBRUN Workflow Persistence, Idle Workflows and External Events
I've been doing some thinking about how the default workflow persistence services work and how it affects those of us writing complex event-activities (i.e. IEventActivity implementations), and I was curious about something. I was reading Paul Andrew's comment on how the default workflow persistence service will only load persisted workflows that are "ready to run", and how it worked with locking when multiple runtime instances across a farm were using the same persistence database (all very informative stuff). However, what I'm not quite clear on yet is what the "readiness to run" of a persisted workflow is determined. Could someone expand on this a little bit Here's what I'm trying to find out: For example, if an act ...Show All
micronax Need help on Orca related cases
Hi, Our application is using Windows installer to install the application and not a Click-once, but it doesn't have Application MSI file to install the application. It contains only the setup.exe file. In this case, can we put PASS for all orca related cases without executing as the precondition says that " IF APPLICATION DOES NOT USE WINDOWS INSTALLER FAIL THIS TEST CASE. LOG N/A IF APPLICATION IS CLICKONCE. " Could anyone help me in this issue Thanks in advance. Thanks, Vasu Using Windows Installer is mandatory for being Vista Certified. If you are using a recent version of Installshield or Wise, it may generate a MSI file embedded in the setup.exe file (which is ...Show All
R.Tutus CreateFile fails under Vista
Hi, I am a Windows developer programming in Visual Studio C++. I have an application that works fine under all recent versions of windows up to and including Windows XP SP2. Under the latest Vista beta 2 build 5472 the application fails as follows. The following line of code fails under Windows Vista, even when executed as administrator. HANDLE hHandle = CreateFileA("\\\\.\\APPDRV", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0x80, NULL); The CreateFile fails to open APPDRV, can anyone shed some light on this, and the correct code to use for Vista. regards Nic Wilson [EDIT] Disregard, the issue has been solved. NW ...Show All
MP Grewal Forecast workflow behavior
I there a way to get the workflow running forecast with out actualy run it Assuming I'm using sequenctioal workflow, I limit the amount of forecast steps and I set defualt values for the rules evaluation. Is it possible Thanks Orna No, there is no way to forecast how a workflow will run without running it. ...Show All
Julien Couvreur Workflow activities.
Hi everbody, i am developing an application using wwf and i need to know examples of activities in the workflow that my application may include . for example i know the 'send mail activity' discussed in the hands on labs available. what other activities may a workflow have if u have a website that may help , plz send it i will be grateful :) thanks, You can create custom activities that do pretty much anything you want. There's a good number of sample activities on the WF community site. ...Show All
Bobal WinLogon change in windows vista...
Hi, Can any body please help me out in finding some particular information about how the WinLogon procedure in Windows Vista has changed and the softwares that implement GINA, how will they operate now... Any links or resources... Thanks in advance, Regards. http://blogs.technet.com/authentication/archive/2006/03/18/new-authentication-functionality-in-windows-vista.aspx http://msdn2.microsoft.com/en-us/library/Aa480152.aspx#appcomp_topic11 ...Show All
LostCoder Application Opens By Itelf Fine, But When Opened With Process it fails to load components
Hey Guys I am trying to find out why this happens. If I try to open an application written in vb6(yah I know) under vista using a .net component using Process.Start it fails to load some components properly. But When I open it from explorer it opens up just fine and does what it is supposed to do. Any reason/explaination of why this may happen. Using Windows Vista Enterprise Edition. I am thinking it has something todo with security but honestly I don't know. Thanks for any help offered. Are you registering the ActiveX exe on the client machine during install I believe that ActiveX EXEs have a self-register thing happening on first run. If your install is not registering it, that could be the problem. ...Show All
Strini Pattern for updating custom Activity Properties without completing Activity
Hi Most activities in my workflows are human activities and are therefore event-driven. The workflow blocks at each new activity waiting for a user to click "Complete" or "Approve" in the application GUI. These activities have a number of common business-logic properties, encapsulated in a custom base class. Example properties are: TargetCompletionTime, Priority, RequiresApproval etc. The values of these properties are tracked using TrackingExtracts and custom TrackingProfiles. This allows me to query the tracking service for the current state of my activities, including the values of the custom properties. The complication is that I need to be allow my users to update the values of these activity properties at any time without closing the ...Show All
BigAl_NZ WMI and Win32_DeviceChangeEvent
Apologies in advance if this is the wrong forum to post on. If so, then please direct me to a better one. I'm having difficulty getting notification for the WMI event Win32_DeviceChangeEvent. Using the TempConsumer sample in the latest Windows SDK (Samples\SysMgmt\WMI\VC\TempConsumer), I modified two lines of code to be able to subscribe to the Win32_DeviceChangeEvent Line 169 changed from CBSTR Query(L "select * from MyEvent" ); to CBSTR Query(L "select * from Win32_DeviceChangeEvent" ); and line 239 from CBSTR(L \\\\.\\ROOT\\DEFAULT ), to CBSTR(L "\\\\.\\ROOT\\CIMV2" ), Compile the sample and run in Windows XP, then went to Device Manager and picked a device (in my cas ...Show All
jwize Finding subitems within an expanded MenuItem control.
I have a MenuItem control that is expandable. I can find the main MenuItem control and expand it, but I can't seem to find any of the sub items after expansion. When using UISpy I can see them after only if I directly highlight one of them, but not when I highlight the main MenuItem itself. To me this implies that the sub-items aren't existing controls until the main MenuItem is expanded, but my call to find doesn't seem to find the newly added list of subitems. Is there a way to force an update of what controls are looked at by the FindFirst, FindAll calls, etc. Below is my basic FindElement method where rootElement is set to the main application window. Any help is appreciated. Thanks, Jared private AutomationElement FindElement(s ...Show All
Khan Azul 2PC using MSDTC behaves differently on one/two computers
Hi, I have the following problem... I start a transaction within one process proc1 (by creating a new TransactionScope) and enlist a custom IEnlistmentNotification implementation. Then, using .NET remoting, I call a method on a remote object (another process proc2 ) and pass the current Transaction to it. This method creates a new (nested) TransactionScope using the passed Transaction and enlists another custom IEnlistmentNotification implementation. After completing bot scopes I can observe different behavior depending on whether the 2 processes run on a single computer or on two different computers. (1) on one comp: The Prepare() method of the proc1 is called and in parallel Prepare() of proc2 is called as well. (this is also my desired ...Show All
Tom De Cort Debugger detected
While trialling Vista RC2 (5744) I went to install and run my favorite screen saver "Cuckoo Clock 3D " from 3Planesoft I got this error Debugger detected [97] The install seems to work fine, it's when I try and run the thing or change any settings that the error appears. It worked fine in RC1 (5600). Any devs/enthusiast know what is new that is causing this and better still can it be fixed before rtm Regards I have the exact same problem with my screensaver too. It will install okay but get "Debgger detected [97]" error code when it trys to run. This is starting to get me angry. I think I'll just dump Vista, reformat my HD and put XP back on. I get ...Show All
Paul_Rus how to bulid WorkflowMonitor?
there are some errors. in the method internal List<SqlTrackingWorkflowInstance> GetWorkflows(string workflowEvent, DateTime from, DateTime until, TrackingDataItemValue trackingDataItemValue) if ("created" == workflowEvent.ToLower()) { sqlTrackingQueryOptions.WorkflowStatus = WorkflowStatus.Created; queriedWorkflows =sqlTrackingQuery.GetWorkflows(sqlTrackingQueryOptions); }//there is error. context: Error Cannot implicitly convert type 'System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance>' to 'System.Collections.Generic.List<System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance>'. An explicit conversion exists (are ...Show All
LGuy Volume Filter?
I am writing out a WAV file using a directshow filter graph. The filtergraph mixes two WAV file inputs (File Source - Async) using the AVI mux filter which is then outputed by a File Writer to a WAV file. However I would like to control the volume of the input WAV files and mix them. Is there any DirectShow volume filters Thanks in advance, Don Don, yes. WMT Volume is part of Movie Maker. It is an inline volume control. Use one on each wav to control a mulit-channel mix. Have you looked at using the DES methods (DirectShow Editing Services) I know there is volume stuff in there. ...Show All
LouArnold Accessing/Enumerating Audio sessions
I am writing an application that will control the audio session volume for ANOTHER process. I know I can get the access to the AudioSessionControl by providing an AudioSessionGuid but is there any way to enumerate the AudioSessionGuid I have looked in AudioPolicy.h adn AudioClient.h and did not see any way to do that. The mixer obviously can and I would like to be able to do something similar. Thanks! Marc The simple answer is: You can't. We don't expose functionality to allow one application to control the volume of another application - there are a number of reasons for it, the biggest one is that volume control is about fixing problems. The user NEVER goes to the volume control unle ...Show All
