Answer Questions
Ben Tsui How to get WPF and WF work together?
Hi, I got this two technologies to work together but only to a certain degree. As soon as I want to describe wpf components derived from my own type I'm having problems with namespace mapping. I'm getting following error messages: - If this type is from another assembly: "Unknown build error, ''clr-namespace:MyNamespace;Assembly=MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' mapping URI is not valid. Line 2 Position 13." - If this type is from the same assembly: "The "CompileWorkflowTask" task failed unexpectedly. System.ArgumentException: The resource string "UnsupportedProjectType" for the "CompileWorkflowTask" task cannot be found. Confirm that the resource name "UnsupportedProjectType" is correctly spelled, and the ...Show All
LotusExigeS1 Listen Activity in state machine workflows
Hi, Can we use listen activity in state machine workflows. Here is my case, where i need to use listen activity, (which i thouht it would be better) I have created state machine workflow for my web application and when web app raises some events, i have to change the state of my workflow from one state to another. In the workflow, I have an event, which executes sequence of 7 steps. When user clicks a button in my aspx page, i am raising the event and the event performs all these 7 steps. Its working fine! Now i got another requirement, that user can raise one more event (from other button, but the state remains the same), which is very similar to that of former, but it has one different step at #2 position of sequence. The rest of the seq ...Show All
FA65 How to record from 'Wave' or 'Stereo Mix' in Vista?
Hi all, I wrote the following question in other forum space but some MSFT guy told me to try this forum for my question. I hope I could get right answer as soon as possible here. On Windows XP or earlier, I could capture the audio stream to the speacker not from the external device (maybe endpoint device in Vista) like the microphone. In other words, D irectSoundCapture was able to capture from the selected recording device/source line in the Windows record control utility or mixerXXX APIs. And if "Wave Out Mix" or "Stereo Mix" or something similar was selected as recording source line, D irectSoundCapture was able to record the audio stream to the speacker. However, I could not find the way to do tha ...Show All
jcavazos web services
Hello, am I correct to understand that there is no .NET framework integration yet I am wondering what support for calling web services there will be in v1 release. The usage I am thinking for WPF/E is to have XAML+C# as a complete front-end, using no javascript, and talking to backend web services. Does this sound like a reasonable usage that will be well-supported and is a goal for the WPF/E initiative To me it does not look like the December CTP supports this. Thanks, Brad Williams Did you see http://www.nikhilk.net/WPFEAndScriptSharp.aspx Hi Brad: Depending on what you want to do, you can actually come quite close to this with the current CTP release. To ach ...Show All
michaelp Parameters for an activity
Hi, I've used the beta version where you can pass parameters to activities and mark them as input and output paramenters. I've used to consume them i in the code activity_executeCode method like this, but now, Parameters collection does not work. Me.Parameters("MyOutputParameter").Value = "35" How can I set and access my parameters from an activity. Best Regards Hi, Can you please provide an example for sharing values between activities. My scenario is like this: From the first activity I want to send some data to next activity. Next activity should collect that data from the frist activity. Thanks & Regards Chakri. Yes, that is correct. ...Show All
Philippe Cand WF Designer - How to display Activity Full Name
Hi Dear, I would like to take a print screen of my WF Design to document my work but when the activity name is long then the WF Designer cuts the end of the name and replace it with dots (e.g., receiveCustomerOrder is displayed as receiveCustomer...). It would be nice if the WF designer allows adjusting the size of the Activity shapes (just like controls in a WinForm) but unfortunatly it does not. The shape size is fixed. Could you please advice on how to get the WF designer to display the Activity Full Name How can we resize the Activity shape (I hope that I wouldn't need custom activities for such simple feature) Thanks Karim This feature (ability to resize/auto-adjust Activity shape ...Show All
TheDesperado install error 1330 - steps to success after it (June 06 ctp Windows SDK)
When I try to download it, it reports : The download you requested is unavailable. If you continue to see this message when trying to access this download, go to the "Search for a Download" area on the Download Center home page. bump. Same problem here. Now the Windows SDK page (http://msdn.microsoft.com/windowsvista/downloads/docs/windowssdk/default.aspx) cutely says "hello" below the download link. Come on people... I can't download too. When I'm in process, it is copying files into the Temp folder then the message shows saying that there was an error during installation and propose to send the report to microsoft. The report says that error signature has happened. Here i ...Show All
djmikke DX9 and audio problems
i am a gamer and decided to try and test vista towards some games i should have know it wasnt ready for that lol seems it doesnt support dx9 fully cause having graphics issues when running games such as cod2 that didnt have on xp i am running a nvidia geforce 6200 agp 256mb also no microphone boost in sound panel im running a sound blaster live! 24bit pci sound card and cant get enough output volume on the microphone for ppl to hear me sounds real faint like on xp it had a 20db boost will there be such feature for vista or is there already and ive overlooked it and what can i do about the dx9 problem seems like vista is locked on dx10 which my gfx card doesnt support and im getting glitches on paint and some programs on the deskto ...Show All
mihe How to get child workflow instanceId after calling invokeworkflow
Hi, I have one state machine workflow, in the start of the workflow, it will call InvokeWorkflow to invoke a sub workflow which is also a state machine workflow. The question I have is how to get the sub workflow instanceId after calling InvokeWorkflow. I try to use invokeWorkflowActivity1.InstanceId right after invokeWorkflow but that GUID is not the correct Id. Also, is that possible to fire event from child back to the parent when the child workflow is done (just need to pass some information back to the parent workflow when child workflow is done) Currently, both workflows are sharing the same exchange service and I need to trigger the event from the host. thanks chong ...Show All
LeoXue Capturing video from webcam using .NET
Hi! How could I capture video from webcam (Microsoft LifeCam VX-3000) using .NET 2.0 or WinFX (.NET 3.0) and save it to WMV or AVI Actually, using WinFX (WPF, WCF, etc.) is preferable. Thank you in advance! -- Yours sincerely, Dmitry Alekseenko I think that you'll find this to be relatively straightforward if you explore the DxTuner application at directshownet.sourceforge.net. Email me as 2006 at ronhudson dotyouknow if you want to collaborate. Have you checked out http://DirectShowNet.SourceForge.net ...Show All
Rachita Asp.net Workflow Return Messages Pattern???
Hi, I've got a asp.net web app and a state machine workflow running in process using the manual scheduler. What i'm wondering about is what people are doing when returning messages to the ui. e.g. i've got a webpage which needs to call a state machine workflow which can do some work. But i need to get back an error or success message etc. I'm currently Enqueueing a work item like so: --------------------------------------------------------------------------------------------------------------------------------------------- CommandEventArgs eventArgs = new CommandEventArgs (); eventArgs.CommandName = command; eventArgs.Data = new ServiceEventArgs (uniqueId, data); WorkflowInstance instance = WorkflowManager . ...Show All
William Biesty ActivityCondition without "Code Condition"
Hello, everybody. I've got a CustomActivity , which has Property of type ActivityCondition. For me it is necessary to edit just Declarative Rule Condition in my designer. How can I remove possibility of editing and selecting Code Condition TIA, Nikolay I just posted a sample here that show how to filer the ActivityConditions that are displayed for a custom activity’s property. It seems to be working now, but it you still have a problem with that link try going to http://blogs.msdn.com/tomlake/ . Unfortunately, I've got the error when I’m trying to visit your link :( " Critical Error: Data Store Unavailable The data store used by Community Server can ...Show All
nightchaser How does UAC impact admin Privilege?
Vista RC2, I am using WMI EnableDHCP to switch netowrk from static to DHCP, the login account has admin privilege, and the program works fine when UAC trun off ,the program does not work with UAC,there is no error code returned from the WMI API, just nothing changed( I asked the question here and got a sugguestion to disable UAC, thanks for the help). I am confused with further testing, with UAC turn on, I right click the program and choice "run as administrator", the program still fail, Is it a UAC bug or "Run as Administrator" is using a downgraded admin privilege when UAC on Any comment will be welcome xuding Hi, yesterday I asked a somewhat related question here: http://f ...Show All
Poolius Scheduling application workflow options
I am trying to refractor an exiting application using wwf but having some questions how to model my solution. Problem description: My application is backend service that receives TestRuns to be executed and then it assigns it to right clients to run it. You can consider it as a load balancer application. Each testrun has Priority Schedule (when to start) Groups of test Each group has collection of tests to be ran A group can be required to run sequential or in parallel TestRun may have dependency definition among groups I am not getting a good starting point of how I should model it. One solution: ...Show All
pnp How do I implement a custom activity like the Policy activity.
Hi, this is my example. public partial class CreditScore : System.Workflow.ComponentModel.Activity { public static DependencyProperty RuleSetReferenceProperty = System.Workflow.ComponentModel.DependencyProperty.Register("RuleSetReference", typeof(RuleSetReference), typeof(CreditScore), new PropertyMetadata(DependencyPropertyOptions.Metadata)); [Description("Set up rules for scoring prospect.")] [Category("Prospect")] [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public RuleSetReference RuleSetReference { get { return ((RuleSetReference )(base.GetValue(RuleSetReferenceProperty))); } ...Show All
