Answer Questions
Tryin2Bgood Name property empty???
Hi guys, The last CTP i was using, was the may CTP. With this version I had the problem that the name property was not filled in for any controls. It was always empty. Now I installed the july CTP and the problem still exists... Does anyone else have this problem Is this a know issue Note: When using the textvaluepattern, you get the text so that works... Best Regards, Nick Not all elements have Names, although UI Automation does its best to get one (for instance, using label text for a control that has a label). You can use UI Spy to determine whether or not a control has a Name. it is recommended to use AutomationId to identify elements ...Show All
GrayMatter Software Where are the user interface controls? ie: Menu, TreeView, ListView, TextBox, ...
I cannot see any user interface controls in the WPF/E reference. When I try to instantiate something as simple as a button, it throws an exception when loading the XAML. What is the status of the support of TabPanel, TreeView, Menu, Button, ListView, TextBox, RadioButton, ... Without these, I cannot see how it would be possible to build an application user interface with WPF/E. Thank you for using WPF/E. I am sorry to say that in Current CTP release we don’t explicitly have control support. But we do have primitives which can very well be used to create your desired controls. Our samples have lot of such examples. If you are looking for some specific control which you think cannot be created with primit ...Show All
bjarneds Workflow Dependency Property - Event handler usage
What would the 'workflow dependency property event handler' be used for Or rather a scenario Thanks! protected override ActivityExecutionStatus Execute( ActivityExecutionContext executionContext) { RaiseEvent(BeforeEvent, this , EventArgs .Empty); // Do stuff here RaiseEvent(AfterEvent, this , EventArgs .Empty); return ActivityExecutionStatus .Closed; } Maybe you want a before and / or after event handler like with the InvokeWebServiceActivity and Replicator to allow the user do some preconfiguration before the operation / child is executed and retrieve some result after. Ok. So, how would I make it so that one event would be called before and the oth ...Show All
teplitsa Subscription service and persistence service
I've implemented a custom subscription service that inherits from WorkflowSubscriptionService. I have a state machine workflow that's been published as a web service. In my workflow I have a CallExternalMethod activity that sends an e-mail message, and a HandleExternalMethod activity that listens for incoming e-mail. I'm using my subscription service to get the WorkflowInstanceId based on a message ID that I embed in the e-mail message. I've tested this and traced my workflow and everything works. When my workflow sends out the e-mail, it calls CreateSubscription on the subscription service. When the event is received, it calls DeleteSubscription. This would seem to be the correct behaviour. Then I added the SQL persistence service a ...Show All
daimaku WinForm IN ActivityDesigner
Hey I want to draw a winform IN the designer. Not as, when i click it opens, but directly in the Activity surface. Is this possible I can draw my own activities with a IDesigner class. But how should i draw the form In OnPaint in the ActivityDesigner class If yes...how Just need some directions ... possible/not possible. [Does this question need clarification ] Thanks in regards! Anders Jacobsen My (far out) idea was to try an experiment were i could control the visual looks (button enabled/disbaled, list filling, etc). directly in a workflow. Now i got this to work by drawing a image of the form i am controlling and when i change a property on the form (in the property window) i redr ...Show All
capitapicard Windows Vista RC1 is compativel with chipset NFORCE 2?
Windows Vista RC1 is compativel with chipset NFORCE 2 here I not obtain to install rc1 and I thought to be this the problem ... im afraid your question is in the incorrect forum. These forums are for software development on Windows Vista, developing on DirectShow. The best place to ask: www.microsoft.com/communities Thanks ...Show All
manqueInspiration How to fix the workflow monitor sample
Does anyone know how to fix the workflow monitor sample program The workflow monitor is failing on this line of the ViewHost class: WorkflowTheme .CurrentTheme.AmbientTheme.ShowConfigErrors = false ; This code can be found in the constructor of the ViewHost class. Using the monitor program I can see the workflow and the activites that have executed. However, I cannot see the actual picture of the workflow in the designer. Does anyone know the answer to this The updated version of the sample is in the Windows SDK for the June CTP which can be installed from here . It's likely that you have a version of the Workflow Monitor sample that doesn't work ...Show All
Animatrix Active Directory User ?
Hi I need to check if user account is locked. I've no idea how to do this ;) It will be done in WindowsApp [Windows Service but for now just windows app]. Jarod If you're writing your application in managed code, a good place to start are the MSDN docs on System.DirectoryServices. If you're writing it in native code, then check MSDN for documentation on ADSI (Active Directory Services Interfaces). In either case, the ADSI newsgroup ( http://msdn.microsoft.com/newsgroups/managed/default.aspx dg=microsoft.public.adsi.general ) should be able to point you in the right direction on questions specific to Active Directory. Regards, Jon ...Show All
Duncan Woods 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. Hi, Why not writing your own XPSDrv filter driver connected to NULL port, and in your filter(Stream-In and Stream-out) you take over the job and write it into where ever you want to be. In that way, you are not changing the existing printer driver port monitor that assigned to. It is almost like other approach, so it is clear that your dri ...Show All
pappascd Windows Vista Game Issues
refering to: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1175234&SiteID=1 And answering his question, yes NCSoft and Cryptic Studios are the makers of City of Heros None of the compatibility options fix or help the issue... unfortunately :( Yes my graphics card is up to speed and beyond what is required to run the game. I was just wondering if there was anything else I could do to possibly get the game to run properly However, don't think thats going to happen anytime soon... i found something on the NC Support forums asking about it which was a complete bummer.... < Question Can I play the game with WindowsR Vista Answer WindowsR Vista is not a supported operating system for any NCsoft game. This m ...Show All
flyingchen Assign a different Item for each task in a task replicator
Hi, i made a task replicator in my workflow and i'd like to know if it's possible to assign different item (document) to each task. In the object SPWorkflowActivationProperties i saw the Property item, itemId and itemUrl. So it's easy to change the item of the workflow. But in the object SPWorkflowTaskProperties there is only the Property TaskItemId. During the execution TaskItemId Property is set by default to -1 and when i change it, it doesn't change anything. The task item is still the Workflow Item. asked me if you need more explanations. Thanks Sam I don't manage to find the answer. Do you think I have to do a workflow for each item(document) Is it possible to start a ...Show All
Adam Plocher How to host data access objects for high volume, distributed systems given current state of .NET?
I’ve created a set of data access (DA) objects that connect to a dbms, do O-R mapping, return custom business objects, etc. Following advice I’ve read here and elsewhere, I’ve kept them separate from any hosting environment, e.g. Enterprise Services. Now I need to figure out how to host them in a high-volume, distributed system, but I have questions as to the best way to go about hosting these babies for remote access, given that a new generation of .NET is imminent, but is not yet all the way here. A brief system description is below, as well as my questions. Can anyone help me out I think the discussion is a worthy one; there must be other folks asking similar questions right about now. Thanks in advance, ...Show All
Ananda Ganesh How can a Vista user(non-administrator) work with app that uses ports
Hi All, I have an application in WinFX which when run on Vista fails for the below two reasons: 1. The application writes to the local disk 2. The application uses callbacks to the WCF service(uses ports) and the user is a non-administrator. Is there a way out to solve this, since the users of my application are not given administrator rights to the system. Thanks, Mahalax. Standard users have write access to quite a few locations on the local machine (their profile, new folders off the root of the OS drive for example). WCF specific issues may be better answered on http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=118&SiteID=1 Thanks Eric. I have posted my query at the given Url. Tha ...Show All
joynerCN Problems with istall
can anyone help me I downloaded vista RC1 from microsoft website to test it on my pc and when i try to istall i, it writes error of copying istalation files. My PC configuration Acer TravelMate 2414 CPU: Celeron M 1,6 ghz HDD 60 GB 512 MB DDR2 It might help to start with an empty partition. So when selecting the destination to install to, open the advanced options and delete and recreate the partition where you want to install Vista to. CAREFULL: all data is lost on that partition. So make a backup of all data you need. -- SvenC ...Show All
RichBar Workflow with id "xxxxxxxx" not found in state persistence store ???!!!
Hi friends: Please Help me !!! -_-|| I use WWF beta2, StateMachine Workflow When run WWF beta2, I use 2 databases, the name was WorkflowStore and WorkflowTracking, the string below is the connection strings to the 2 databases in web.config <add type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService,System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" connectionString=" Data Source=ServerName ;Initial Catalog=WorkflowStore;User ID=sa;Password=MyPass;" LoadIntervalSeconds="2" UnloadOnIdle="true" /> <add type="System.Workflow.Runtime.Tracking.SqlTrackingService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856a ...Show All
