Answer Questions
Roy mm Workflow Roles and Persistence
Scenario: When a user logs into our application, a list of tasks is presented to the user. This list is dependent on the all the workflows that the user is assigned to, the current state of the workflow (we are using a state machine workflow) and the event(message) that a user can raise depending on his role.I can currently load all the workflow instances from SQLPersistence. I am also able to get the current state of the instance and what events(messages) that they are waiting for. Problem: I would like to get from the instance which roles can actually raise that particular event. So that I can only show tasks pertaining to that event for a particular user. Since the roles associated with particular event can be dynamic I would like to ...Show All
millie_w Communication with the underlying transaction manager has failed.
Does anyone know how to resolve this exception. Exception: Message: Communication with the underlying transaction manager has failed. Stack Trace: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> System.Runtime.InteropServi ces.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at System.Transactions.Oletx.IDtcProxyShimFactory.ReceiveTransaction(UInt32 p ropgationTokenSize, Byte[] propgationToken, IntPtr managedIdentifier, Guid& tran sactionIdentifier, OletxTransactionIsolationLevel& isolationLevel, ITransactionS him& transactionShim) at System.Tran ...Show All
Wellnow Display resolution and font size
Hi, It is my understanding that Vista has the ability to scale all text sizes according to the display resolution (i.e. 12 point fonts will actually be 12 ponts regardless of the display resolution). Has this capability been implemented in Vista Beta 2 If not, is it going to be I have tried it out with Vista Beta 2 and the text sizes still decrease as the monitor resolution increases. Thank you kindly. Physical DPI changes with resolution but logical DPI does not. When msot people spend $1000 on a monitor with higher resolution, they want to be able to see more stuff. They don't want to see the same stuff magnified. I don't know whether the monitor sends its physical dimensions to the computer. ...Show All
MrLister Which tools to develop for Vista production
What tools are appropriate for developing production release applications for Vista and WPF, WCF, etc. Should I use the Visual Studio 2005 extension for .Net framework 3.0 or should I use the Orcas CTP Or would either one work depending on preferences I guessed this would be the most asked question in the group but I cannot find an answer. I have, from time to time, spent several hours trying to decipher the information on MSDN and have just now spent another hour between MSDN and searching these forums with no answer. Thanks for your help, Dale Preston And what is the intended method for production applications Certainly Microsoft expects to see production applications in Vista before ye ...Show All
David Reynolds FontSize in Pixels, not Points
The QuickStart guide specifies " FontSize : The font size, in points. " This is incorrect. The font size is actually in pixels. You can test this out by outputting the text to HTML with the same font size both in pixels and points. It matches the one in pixels. Michael S. Scherotter Just to clarify, WPF/E Font size does default to pixels, which is the same as WPF. -mark Program Manager Microsoft This post is provided "as-is" Thanks for pointing that out in the docs, we'll get that updated in the next doc refresh. -mark Program Manager Microsoft This post is provided "as-is" My bad then...thanks Mark. My understand ...Show All
Jon Stroh Tracking EventArgs for HandleExternalEvent Activities
Hi, I need to track EventArgs for HandleExternalEvent activities to be able to eventually recover the passed values. I know I can track these values in user events by calling TrackData from the code behind. But I wonder if it is possible to track event args by using ActivityEvents and profiles. I think it should be possible because ActivityTrackingRecord objects have EventArgs property. However this property seems to be always null. If this property is always null, why is there it should be removed to avoid confusion. Is it possilbe to track event args by using activity events and profiles Regards: Jesus Jesus - you need to add an ActivityDataTrackingExtract to your ActivityTrackPoint. ...Show All
lholmes WebPageRequest/Response activities for ASP.NET integration
http://wf.netfx3.com/files/folders/control_flow/entry4354.aspx Package includes WebPage Request/Response custom activities: - WebPageRequest - WebPageResponse - WebPageTransfer - WebPageRedirect These activities will help integrate Workflow technology into your ASP.NET projects. Just derive your ASP.NET page from "WorkflowPage" and indicate which workflow to use. Features: - integration with Http Request/Response, ability to expose Http parameters in Workflow designer, ability to "Activity Bind" and use them in rules/condition expressions. - integration with ASP.NET WebControls and data binding sample - ability to use in both Sequential and StateMachine Workflows - includes extensible examples of work ...Show All
Markus Gallagher Displaying UAC prompt
Greetings, Is there an API call I can use to trigger the display of a UAC prompt from inside the program while calling an external dll or exe For instance, I have app A and dll B. B's functionality is needs to be accessed from A and must modify HKLM hive. The way I understand things currently, I would need to add a manifest to B stating <requestedExecutionLevel level = "requireAdministrator"> this in turn will trigger the UAC prompt. I wonder if there is an alternative solution, such as launching B with a parameter asking UAC for evevatin instead of using manifest files Thanks I am quite sure, you won't be elevated if you call function from a DLL even if it have the requestedExecutionLev ...Show All
dtlinker Anything new in the July CTP?
I see there is a July CTP out as of yesterday, has anything been added or changed http://www.microsoft.com/downloads/details.aspx FamilyID=62057a6f-185f-41db-abe5-678f6fc388f0&DisplayLang=en Is there a list of bugs that have been fixed One thing that's changed is that there is not and never will be a coordinated release of the Visual Studio Orcas toolset. Yet the July CTP is required for Workflow RC4. So watch out. If you have to develop for Workflow plus Presentation or Communication then the July CTP is a complete waste of time. Bug fixes excellent. Just want mention a couple little things more to do ...Show All
TvB Sqlite with transactions ?
Tried it with transactionscope and it didn't rolled back. Doe's it work with transactions Thanks Avi harush Hi Avi, I recommend asking this question on the sqlite forums / support. Transactions are opt-in. We don't control/enforce who participates and who doesn't. Cheers! ...Show All
joaomgcd Wrong download for Visual Studio 2005 Extensions?
If I download the Visual Studio 2005 Extensions for Windows Workflow Foundation and double click the exe file the installer for ActiveSync 4.2 is running. Check out the following post, I think this will help you: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=539232&SiteID=1 ...Show All
rwerner Windows media streaming from direct show graph
Hello, I'am searching for a possibility to stream my audio signal directly from my DirectShow graph with the windows media codec. So I need a renderer filter which gets PCM data and do all the streaming stuff. Has Microsoft such a filter If not, is there a possibility to use the WMA encoder filter and do the streaming myself (I have already code to stream MP3 data to an Shoutcast server). What protocol is used how looks the commication between client and server. Any docs available Thanks for your help Reiner Hello, thanks for your answer! So you use ASF writer to generate ASF encapsulation. Can the ASF writer handle the streaming, or do you write a file in the background and read it back with an other ...Show All
Jonso persistence services Questions
Hello, I want to ask some questions about the persistence services : 1) the persistence process is fired when the WF instance is idle 2) Is there a possibility to manage "when the persitence process is fired" 3) When I am using the transcationscope activity, am I obliged to define a persistence services if is necessary,How Thanks Thanks, can You give me more explaination about the first question You can only have one persistence service per workflow runtime instance. Thanks, Joel West MSFTE - SDE in WF runtime and hosting This posting is provided "AS IS" with no warranties, and confers no rights ...Show All
Mannequin666 Distributed Processing with Windows Workflow
I have been banging my head against this all week so I thought I would check here for some more ideas. I want my fellow developers to be able to put together a parent SequentialWorkflowActivity using my custom synchronous workflow activity to invoke other "child" workflows. It's like chaining together a bunch of InvokeWorkflows except the workflows are invoked synchronously. I've got that part figured out, but what I need now is to get the distributed part down: I want any of a set of identical servers in my environment to be able to execute the next child workflow in the parent workflow until all child workflows have been executed. My plan is to make the runtime stop the parent SequentialWorkflowActivity after it completes o ...Show All
jaybmehta9 Why I can not find 1394 camera?
I can use DirectShow to connect with USB camera, but the same program can not find 1394 camera. I used two interface, ICreateDevEnum and IEnumMoniker, as follows: ICreateDevEnum * pCreateDevEnum = NULL; IEnumMoniker * pEnumMoniker = NULL; // Create Device Enumerator, it is success hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, reinterpret_cast<PVOID *>(&pCreateDevEnum)); // Create the enumerator of the monikers for the specified Device Class & reset them, it is failed hr = pCreateDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumMoniker, 0); It said pEnumMoniker was not initialized. How can I do I found t ...Show All
