Answer Questions
theja network is frozen after a standy or hibernation
I am running Windows Vista Business on an HP nc6230 laptop. When I resume from a Standby or Hibernation, I have to restart my laptop every time in order to use any of my network resources. I am using a wireless network. When I put the mouse over the wireless network icon in the task tray, it says that it is not currently connected to any networks. If I try to open that or click on Start - Connect To, nothing happens. No web pages will show up in Internet Explorer either. I tried to Disable the adapter in Device Manager and it froze up my laptop. In order to gain my wireless connection again, I must restart. Has anyone witnesses an issue like this or knows how to fix it I am using an Intel PRO/Wireless 2200BG Network Connection adapter tha ...Show All
ricochett [RuleWrite("somefiled")]
Hi Can you give me a good example how to use [RuleRead/Write/Invoke] with PolicyActivity I don't get example from manual... I want some pratical real life example how to use and when :) Jedrzej Also, you may want to look at the Advanced Policy Sample in the SDK. It uses RuleWrite. Please read this article: http://msdn2.microsoft.com/en-us/library/aa480193.aspx - Specfically the portion that explains the rules execution and forward chaining. Basically the rule engine will sort on priority from highest to lowest. If two rules are of the same priority, today we sort by rule name, but this is an internal thing that can change - so you shouldnt really depend on that. You should assume that two rules of the same priority ca ...Show All
pradeep.vutukuri Multi Display support on Vista
Hi guys Any of you has information or evidence regarding multi display capability of Vista In specific, the following configurations are already supported by WinXP: 1. Two or more displays connected on a single graphics card (MHS) 2. Two or more displays connected on two graphic cards of same vendor/chip 3. Two or more displays connected on two graphic cards of divverent vendors (MDS) I received rumors these support has been dropped in Vista. I cannot believe it but I could not find any evidence they are actually supported. If anybody can confirm this, it would be really appreciated. Thank you Ascanio I just wandered down the hall and looked in my friend's office. His m ...Show All
MMerchant expand/collapse activities programmatically
How can I collapse/expand a composite activity in code I found no Expand method or similar on the activity class. Thanks to all for your help so far. charming, a settable property did not expect this, because most of the properties I saw in the WF classes are readonly thanks for the tip hi guy. the composite activity has a bool set/get property named "Expanded" . ...Show All
JavaBoy How does window media player pass the file to a push source filter?
Hi,I'm new to DirectShow. Now I need to write a push source filter to open and parse a customized file. I'm wondering how did window media player pass the file to my filter I'm not totally understand the flow chart from window media player to source filter.Any input will be really appreciated.-Cecilia If you are writing a file parser, you might find this useful: http://www.gdcl.co.uk/dshow_dev.htm or http://www.gdcl.co.uk/articles/ (scroll to the bottom for the parsers pdf link) Thanks LGS for the info.Actually, I have my own file parser for my own file type. I need to get the file path from window media player and pass to my own file parser to open and par ...Show All
Jegant FlowChart workflow - Custom FreeformActivityDesigner sample
Hi, Here is the long due sample for writing custom activity designers utilizing the freeform activitydesigner. This is still a very crude sample, so we will try to post improved versions from time to time. Thanks to Arjun for the Executors and Validators. The validators show a false positive sometimes because of a bug that we will be fixing soon. http://www.thispointer.com/workflows/FlowChart.exe here is a preview of the flowchart workflowtype get http://www.thispointer.com/workflows/FlowChart.jpg There's a few more things I noticed in the free form designer sample that I'd like to raise as issues. I do have a number of 'how to' questions queued up, but I wanted t ...Show All
Sudhakar.hcitek LocalService.MyEvent += new EventHandler<AuthorizationEventArgs>(MyEvent _HandleAuthorizeRequest); makes me error;)
I have a winapp where i host a runtime. In this winapp i have a form where i can initiate workflows. I want my form to be informed when the a workflow event raises. i add the Service to my to the ExternalDataExchangeService (that have been added to the runtime) ExternalDataExchangeService dataExchangeService = new ExternalDataExchangeService (); runtime.AddService(dataExchangeService); authService = new AuthorizeService (); dataExchangeService.AddService(authService); // Start the Workflow services runtime.StartRuntime(); //This causes the app to fail when i create a workflowinstance authService.HandleAuthorizeRequest += new EventHandler < AuthorizationEventArgs >(authService_HandleAuthorizeRequest); ...Show All
FarnazB Promote Bindable Properties for Events
Hi, I think I quite got the meaning of "Promote Bindable Properties" regarding acticity properties. Still i don't get the scenario for "Promote Bindable Properties" regarding events. Specifically what's the meaning of promoting at the WF level the executecode event of a code activity When i do this, the WF get's a new event, but who can subscribe to this event (but the wf istance itself) since the wf instance is not accessible from the hosting app (I tried passsing a delegate as one of the entry of the params argument of the CreateWorkflow method. It does not work , looks like only properties are accepted. Can someone explain thank in advance The scenario to pro ...Show All
learnerplates How to schedule a workflow?
Hi, I want to schedule a workflow to start at a later time. Is there any built-in support provided by WF Regards, Chakri. The results I am getting are different from yours. So we are working off of the same example please try the following workflow: public sealed partial class Workflow1 : SequentialWorkflowActivity { private CodeActivity codeActivity1; private DelayActivity delayActivity1; public Workflow1() { InitializeComponent(); } #region Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the ...Show All
MichaelEaton Using MXDW
I would like to use MXDW to create XPS documents from any application. But I would like to automate the creation by automating the printing process. But when I try to do this it always comes up with the "save as" dialog box. I had the same problem using the MODI driver as well. Does anyone know how to get rid of that Any samples will be helpful. becket, I removed all the filters in XPSDrvSample by changing the filter configuration file (xdsmpl-PipelineConfig.xml), and clearing everything between the <Filters> </Filters> tags. I also went in the .inf and removed all references to the filter .dll's. This should get you the "plain" XPSDrv that you wanted. Right ...Show All
Andrzej Martyna OwnershipTimeoutSeconds does not work
Hi, In order to be scalable we have two servers running our workflows. Any server should be able to take over at any time. The workflows running on the servers make asynchronous requests via msmq to other services. The replies should be able to come back to any one of the servers and still be processed. What happens is that when the reply comes back to a server which did not make the original request (and then wait on an event), the server cannot fire the event on the persisted workflow, because it's still "locked" for use by the workflow. I am currently configuring the workflow instance ownership to be 2 seconds, and it takes longer than that before the response comes back to the server. I'm using the released version o ...Show All
redriver How to create a real identity provider ? looking for info
Hi I would like to create an identity provider and create managed cards for my users. I am looking for information about it. I need the theory not just a sample. I have downloaded the sample : "Creating Managed Cards" from this site but it is not something that I can use for a real application that needs to build cards dynamically (on runtime) for many users. Where can I find information manu Hi, we have implemented such a scenario in the first real life application with windows cardspace. Feel free to test the application: http://www.otto.de/vista Enjoy, c Christian Arnold | Connected Identity and Directory | ATE Software GmbH Firmensitz: F ...Show All
Jonathan Allen Journaling hooks on Vista?
Along with a lot of other people, I've noticed that attempts to set the journalling hooks ( WH_JOURNALPLAYBACK, WH_JOURNALRECORD) get knocked back with access denied on CTP 5270. Is this down to the new Vista security policies Getting there! Step 1 above does work, but requires a reboot after. Run secpol.msc - Local Policies/Security Options and modify User Account Control to disable running as standard users (so if you are logged in as admin apps will now always run as admin). Reboot. The journal hook now works! This is clearly not an ideal solution, of course, as this requires users to make a system wide security change that flies in the face of the new UAC system. It should be possible to use a man ...Show All
pjtaylor Temporarily Registering ActiveX Control
We have an application that runs off a CD and uses an ActiveX control stored in a DLL (or .ocx, does not really matter). The CD is to be run on the client's computer, and the client may not necessarily have administrator privileges. Is there a way to temporarily register the ActiveX control for the duration of the application Basically do something like "regsvr32" on the DLL while the app is running, and "regsvr32 /u" on exit. Basically we would like to force the ActiveX Control (identified by a CLASSID) to load from a particular DLL, and that DLL is on the CD. In case you are still interested: We actually took a different route. I simply loaded the needed ActiveX DLL using Load ...Show All
WinFXGuy Persistence and Serialization Error
I have recently upgrade to the June CTP. I am experiencing an odd error when using the delay activity. Using SQL Profiler I can see that the call to "InsertInstanceState" passes a "status" paramter value of 3. What exactly is 3, is there a reference doc somewhere I can download to see all statuses In addition, the info parameter has the text, 'System.Net.Mail.Attachment'' in Assembly ''System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'' is not marked as serializable. I am using the EmailActivities provided on the WF site. I compiled them in VS2005 and added the activity to my IDE. Once my workflow completes the delay is supposed to email me. This never happens. Rather my workflow hits the d ...Show All
