Answer Questions
nibsi Run a Xoml from console application.
I'm having a hard time trying to run the workflows, created by the designer lab (lab 10), from a console application. Composing the workflows in the designer, results with XOML and Rules files. Now all i need is an exe that gets the xoml and rules path as parameters, and runs the workflow. I've build a console application based on the run() and Compile() methods in the designer lab, the compilation succeeds but when i try to run the workflowinstance, it fails. it seems to me like a MUST feature, somehow i should allow users to run the xoml's they've composed, withought openning the designer or visual studio. thanks. You can email me the code if you'd like (my email is in my profile). Ar ...Show All
MARCOSEDRALIN UAC issue
hi, To start sql settings 2000 in vista need any UAC mitigation because my application get stucked at while starting the sql settings thanks divya SQL Sever 2000 isn't supported to run on Vista. http://www.microsoft.com/sql/howtobuy/sqlonvista.mspx But a call to SQL Server 2000 on an different server should be supported and not an issue. Please clarify if your app makes a call to a different machine not running vista for the SQL 2000 connection. If this is the case, do you get any error message How about SQL logs is there anything of interest there like the attempt to connect ...Show All
abuck WPF/e vs. HTML
After reading Mike Harsh's blog post What WPF/e Really is . I'm kind of disappointed with the approach that the Architects are taking with WPF/e, as in that it augments HTML instead of replacing it. Why not Personaly I find that HTML slows me down in producing rich content for my users (something that WPF promises). Sure its easy, its fast, and we should keep it (not every website needs rotating letters). However, as I see .NET being used -alot- for mission critical application, I would only EXPECT WPF/e to take the fore front and upgrading the way we provide commericial services on the Internet in a fast, uniform way. Flash is doing this, Flex is not 'augmenting' the Web, its rewriting it. Share your thoughts. I to ...Show All
Oleg Kalenbet Synchronous Web Service Calls
Hi all. I have two distinct WFs, WF A and WF B, that send messages to each other using Web Services. When A calls a Web Service in B, B receives the SOAP request but it seems that B reply is asynchronous. B replies to A only when it finds suitable to do so. A have a few questions about this: 1. What conditions B has to meet so it can send a reply to A Does it need to be idle 2. I really need synchronous web service calls. Is there a way to implement this How 3. Since WF A is waiting for a reply from B, what happens if B takes to long to reply (B does not meet the conditions that are necessary to send a reply to A) Is there a timeout that should be handled by A Thank you for your time. Any help is welcome. Joh ...Show All
Tomsi How do you host WWF 3.0 as a webservice (instead of using ASP.NET as a host)?
Tom/Vihang/All WWF Gurus, Can someone please provide an example of how to host WWF 3.0 workflows as a webservice, instead of using IIS (ASP.NET) to call and host XOML only workflows Tom has provided examples of ASP.NET hosting and calling XOML only workflows (using tracking and persistence). I need to do the same with a centralized web service. The labs provided with WWF 3.0 are very similar to WWF 2.0 labs. I cannot find any examples that offer samples on how to host workflow runtime services via a webservice that can be consumed by one or more websites (on one or more webservers). MS suggests using a centralized webservice to host workflow runtime services, instead of using IIS. Unfortunately I did not find any code examples (I ...Show All
GILLT Rule Engine - Stands alone?
Hello, I was wondering is it possible to use the rule engine as a stand-alone piece of infrastructure Or do I have to use it only in the context of a workflow. Are there any existing examples where there rule engine is used on its own, and not as part of a workflow. Thanks Houman Take a look at the "Rules in Microsoft Excel" sample found here . Here is an example I posted doing just that. Its about as simple as you can get as an example... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=887847&SiteID=1 Hi VSTO for Office 12 is not available yet, so you cannot run that sample unfortunately on Vista. To answer your original qu ...Show All
pessi Animating Opacity 1 to 0 results in 0.00390625
Animating the Opacity of a canvas from 1 to 0 over 0.4 seconds causes the opacity to finish at 0.00390625, not 0. Is this by design or is it a bug < EventTrigger > < BeginStoryboard > < Storyboard BeginTime = " 1 " x:Name = " IDAYAMXC_Hide " > < DoubleAnimation Storyboard.TargetName = " IDAYAMXC_Nodes " Storyboard.TargetProperty = " Opacity " From = " 1.0 " To = " 0.0 " Duration = " 0:0:0.4 " /> </ Storyboard > </ BeginStoryboard > </ EventTrigger > Michael S. Scherotter We have actually seen some round-off issues with very short animations, especially in this case w ...Show All
Morten Nielsen Difference between Beta2 and Beta2.2
Dear sir If i install the Beta2.2 version, Then the Beta2 examples will work or not. regards vijil Bangalore I'd say yes for 99% of the code ; but moving to rc2 is a better idea ;) Serge answered here : Thanks for the replay What is that RC2. I am hearding this word first time through you. Please give me proper details. Regards Vijil ...Show All
Saeideh Set folder security permissions during installation
This note from the Microsoft site mentioned below, suggests that application specific data should be placed in the location provided by the KnownFolder API (passing parameter :CSIDL_COMMON_APPDATA). CSIDL_COMMON_APPDATA This folder should be used for application data that is not user specific. For example, an application may store a spell check dictionary, a database of clip-art or a log file in the CSIDL_COMMON_APPDATA folder. This information will not roam and is available to anyone using the computer. By default, this location is read-only for normal (non-admin, non-power) Users. If an application requires normal Users to have write access to an application specific subdirectory of CSIDL_COMMON_APPDATA, then the application must explic ...Show All
Richard Pfeiffer How to hit test non-client buttons in Vista?
The following code was added to a Win32 application's WndProc to hit test the minimize, maximize, and close buttons. The buttons are detected if Desktop Composition is disabled, but not when it is enabled. Other non-client regions are detected when Desktop Composition is enabled. Does anyone know of a work-around for this issue case WM_NCHITTEST: LRESULT lResult; lResult = DefWindowProc(hWnd, message, wParam, lParam); if (lResult==HTCLOSE) OutputDebugString(L"HTCLOSE\n"); //detected if Desktop composition is disabled else if (lResult==HTMINBUTTON) OutputDebugString(L"HTMINBUTTON\n"); //detected if Desktop composition is disabled else if (lResult==HTMAXBUTTON) OutputDebugStr ...Show All
azzyford How to Serialize individual Ink Strokes?
Hello, I am just wondering how to serialize individual ink strokes. When I attempt to I catch an exception stating that the Ink.Stroke object is non-serializable. I would love to not have to save the Ink object and serialize the entire thing, but instead simple grab a single stroke and serialize it. Does anyone have any information that may help with this Thanks again! I found an MSDN article, the one on the Sudoku application http://msdn.microsoft.com/library/default.asp url=/library/en-us/dntablet/html/tbconSudokuSampleFinal.asp , and it suggested using an integer array: int[] stroke = e.Stroke.GetPacketData(); You can then serialize this and do what you need to. Why isn't the Stroke object ...Show All
Ishfaqa WebserviceInput and Enum in interface definition will not bind to properties
I run into the followinf problem using a webserviceInput that implements an interface for me. The interface has the following prototype: public interface ITripApproval { ApprovalStatus ApproveTrip( string from, string to, int cost, TimeSpan duration, TripReason reason); void VoteTrip( string tripid, ApprovalStatus status); ApprovalStatus GetTripApprovalStatus( string tripid); } Now when I want to bind the ApproveTrip method to a webserviceInput activity I will see that it will let me bind the properties for the parameters from, to, cost and duration but the TripReason property will give me an dropdown box where I need to select the value from the enumeration. Now I don't want that parameter to get a fix ...Show All
Aleniko29139 CardSpace & OTP (one time passwords)
Hi, If you want to issue a managed card which is linked to an OTP system, what do you need to do Can somebody explain conceptually the steps needed to integrate OTP with CardSpace Thanks Jean The ws-* protocols that we use do not have a definition for OTP at this point. You have a couple of options: 1. Ask for the OTP out of band of the CardSpace user experience... Get the security token from CardSpace, and then ask for the user's OTP. 2. (ab)use the Username/password managed card type and use the OTP as the authentication factor instead of a password. g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msd ...Show All
deeps_ How to use rules for xoml only workflows which use instance properties?
I want to put a rule condition which checks value of a dynamic property of an activity inside the workflow. I don't have the code beside file i.e. workflow is only xoml based. When I specify such rule with this workflow the rule is invalidated. But i can use the static propeties in the rule. For code-xoml workflows this works fine. Is there a way to implement this pls let me know... the xoml is < SequentialWorkflowActivity x:Class = " WorkflowLibrary1.Workflow3 " x:Name = " Workflow3 " xmlns:ns0 = " clr-namespace:WorkflowLibrary1 " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/workflow " > < ns0:MyActivity x:Name = " myActivity1 " T ...Show All
Onlinemercenary Retrieving External Service from Activity Validator
Hi All, I have registered a validator with my custom WF activity. On the overriden method 'Validate', i need to use some external service to perfrom the actual validation. This service is registered with the runtime via 'runtime.AddService()'. The ValidationManager that is passed as part of Validate has a method GetService. However when I invoke this method to get hold of my external service, I get null as the return value. Am I missing something here ..... Rgds Giri Since validation is done at design time as well, a validator shouldn't rely on the runtime. And ValidationManager class does not hold a reference to the runtime, as far as I know. Hello Vignesh, I believe Val ...Show All
