Answer Questions
.neo Creating a New Account Programmatically in Windows Mail
krishnan I am trying to create a new account programmatically. I understand that i should place the configured oeaccount file in the strore root folder. My problem is Naming the new .oeaccount file. how do i generate the Unique ID Pregrammatically. Is that required or simply account{<Account_name>}.oeaccount will do example : account{3358C6E2-10C0-47E5-8E0E-FA409E305A93}.oeaccount Borland C++ example: #include "Rpc.h" AnsiString __fastcall TForm1::GetAnsiUUID() { AnsiString result; UUID uuid; UuidCreate(&uuid); unsigned char *uuids; UuidToString(&uuid,&uuids); result=AnsiString((char*)uuids); RpcStringFree(&uuids); return result; } ...Show All
cobain81 CreateEvent Fails with Access Denied when Events with the Same Name from Different Applications.
CreateEvent Fails with Access Denied when Events with the Same Name from Different Applications. So I tried to use my CreateEvent functions without name and it works. So why should I even bother to use a name I will Create Events without name from now on not to come across with this annoying problem again. CreateEvent(NULL, FALSE , FALSE, NULL );//auto reset event The purpose of the proposed fragment is to create security attributes meaning "anyone can access this event". This is useful, for example, for interaction between services and applications. But if your applications works under the same account, I think you can use NULL security attribute, but non-empty event name. See the MSDN documentation for eac ...Show All
Garyngl What if...
Hi, Does the invitation to download the install appear automatically for users who do not have wpf/e installed If you are using the current agHost.js it will display a link where the user can download the plug-in for his web browser if any is available (Mac, Windows). In the future it will be as easy as i.e. Flash installation. Microsoft is doing work on get the installation as easy as possible and the plug-in very small. If you use the aghost.js file it will appear for users who do not have it installed. You can find more information about this here: http://msdn2.microsoft.com/en-us/library/bb188575.aspx OK. Thanks for the link. Looking forward ...Show All
Hassaan Nasie how to restart workflow runtime after IIS restart
My question is for workflow exposed as web service through webserviceinputactivty/webserviceoutputactivity. My impression is that workflow runtime is only started after the first web service call. My test workflow has 3 activities: webserviceinput, webserviceoutput, delay. SqlPersistence service is enabled. The workflow is activitied through a web call. When executing the delay activity, it's persisted to the database. Then I shut down the web server (ASP .NET development server). When the web server restarted, the timer already expired but the workflow was not resumed. Only after I made another call to the web service, the timer fired. I did an experiment in a winform application. When the application starts next time, the timer fir ...Show All
BlueMikey How to call webservices in a workflow in an asynchronous way
Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. Hi matt, I got one more scenario. In local class of your example we are calling webservice asynchronously and getting the webservice response using the delegate " service_HelloWorldCompleted" which is returned as ...Show All
jw700 Redirect
Hi! Scenario : ASP .NET app with Sequential WF as Controller. Everything works fine until there is a redirect to a suppliers site. The workflow is waiting on a HandleExternalEvent activity. We supply our URL in the query string and the supplier redirects back to us once the user has finished the order. When our page loads from this redirect, we wanted to raise the event that the workflow is waiting on, in order to proceed but no go. The event gets fired, but the workflow does not execute. It seems to me that its becuase the aspnet thread exits and cannot execute the workflow. Of course after page load if we click a button to fire the event everything works fine, but of course that is not allowed in this scenario. So is there a ...Show All
Prasenna A Bug in SDK. Or not?
All, I have a simple workflow which creates orders based on an order message from other system. Sometime, I also receive "Update" order message and this time instead of creating new instance I need to update the existing instance of the workflow. When I create new instance I put some data value like "OrderID" into tracking database using custom tracking profile. I can see record being inserted into "TrackingDataItems" but when i try to use "GetWorkFlows" call, in case of update to get the instanceID to update the value, I dont get any of the instances. I dug deep and found that GetWorkFlows stored proc is being called from SDK and in this stored procedure it is looking for EventTypeID = ...Show All
mareczek84 Replicator with PolicyActivity hurts my brain
Even after some help from a kind poster I'm still not getting how to use PolicyActivity within a replicator. I created a new activity derived from SequenceActivity. I added a property to it, with the DependencyProperty gunk around it like the SimpleReplicator SDK sample shows. This all initializes fine. My problem is now I drag a PolicyActivity into my Sequence. How can rules in this PolicyActivity use my custom property on the parent Sequence Activity I've tried GetActivityByName to get the sequence, but it doesn't appear I can cast in a rule condition (or I don't know the syntax) to my derived type to be able to access the property in say, a condition. Even if I could, this would not be a great way to write rules against that property. ...Show All
Andy Ho State Machine & Replicator Activity
I have state machine with two states: Initial State and Completed State, Initial State looks like that: eventDrivenActivity | delayActivity | ----------------------------- | replicatorActivity | | | | | codeActivity | ---------------------------- | setState public sealed partial class Workflow1: StateMachineWorkflowActivity { private int _index; ............. private void codeActivity_ExecuteCode(object sender, EventArgs e) { Console.WriteLine(replicatorActivity.CurrentChildData[_index++]); } private void replicatorActivity_Initialize(object sender, EventArgs e) { Console.WriteLine(sender == replicatorActivity); replicatorActivit ...Show All
JeevesIndia CallExternalMethod Activity, Workflow Idle Issue - URGENT
HI, I created a custom composite activity embedding CallExternalMethod Activity and HandleExternalEvent activity to interact with the Workflow host (ASP.NET appln). I have a simple workflow like this, 1)CustomActivity1 2)Parallel Activity i) CustomActivity 2 ii) CustomActivity 3 3)CustomActivity 4 When the workflow gets executed, the steps 1 and 2 works fine. But when i complete both the items in the parallel activity, my workflow idles (fires the workflow idle event) without evaluating the next CustomActivity4. I have this Workflow Idle issue only when i place my customactivity within a parallel activity. Any help on this. thanks. What was the reason for the p ...Show All
RedKMan MSMQ Transactions make ACK/NACK Messages obsolete?
Hello guys, I have a little conceptional question about MSMQ (v2/v3): To ensure that a message is placed in a target queue, I can request an acknowledgement (PositiveArrival) and process this one. Can I use a MessageQueueTransaction instead and rely on committing this transaction Or different words, does a MSMQ Transaction guarantee for the delivery to the target queue How about working in a disconnected environment when the remote target queue is not available; does a transaction already succeed if the message lands in the temporary outgoing queue What happens if the delivery fails after that point Dead-Letter queue I would appreciate someone explaining me these points a bit. How many custom processes I have to build around a mes ...Show All
Xtremer WF Dynamic Update - Beyond the basics
By definition WF is made-up of Control Flow and Data Flow (i.e., WF State). It seams that WF have very good built-in support for Control Flow Adaptation (i.e., Adding/Removing Activities). But what about Data Flow Adaptation, i.e., adding (or even removing) Wokflow variables and Workflow Events In other words how to dynamically add Variables and Events Handlers to a WF Any detailed example(s) is also appreciated Updating the WF control generally has an impact of the WF data/state. For example take a WF that has one activity (e.g., decimal GetAccountBalance(int AcctID) ) the latter return the balance in US$, if the customer is accessing this WF from Sydney then the system should dynamically add an activity to call GetExchangeRate(Fro ...Show All
Vasanth TT Audio Mixing
I would like to Mix Audio. The sources are a capture device and a AVI file. Is there any DirectShow 2 input, 1 output audio mix filter Thanks in advance, Don MediaLooks is working on a generalized audio mixer: http://www.medialooks.com/index.php John Could you add a volume filter to each stream before the audio renderer This would allow you to control the volume of each independently. Hi, The Audio Mixer filter has finally been released: http://www.medialooks.com/products/directshow_filters/audio_mixer.html Andrew ...Show All
cyberjoe2 How to prevent Explorer to open the "Prepare this disc" dialog
Hello, I'm working on a tool to mount arbitrary sessions on a multi session disc. It works fine on W2k and XP. On Vista, it also works fine, as long I issue my mount commands via a command line application. Using a shell extension on Vista with a recorder device, quite frequently causes Explorer to open the "Prepare this disc" dialog. Clicking Next and confirming disc preparation usually damages the media. Question: How to avoid Explorer from opening this dialog Hey Strix, Sorry it took me a while, but I think I found the best way to do what you want. You want your application to listen for the 'IQueryCancelAutoPlay' message to be sent to it's window. It will only recieve this message if it ...Show All
killfr0g SSL certificate rejected
Hi, when I run my Identity selector on the same machine where the STS (and RP site) is running I can connect to the STS. But when I try to connect from a different client and I select a managed card to login, I get a error message saying that the SSL certificate is not valid. 1) the site name and the CN in the cert are matching 2) the CRL is accessible 3) the chain up to the CA is valid and trusted here's the log Thanks for support, Claudio Event Type: Error Event Source: CardSpace 3.0.0.0 Event Category: General Event ID: 273 Date: 2/15/2007 Time: 11:42:42 User: Computer: Description: There was a failure making a WS-Trust exchange with an external application. The Identity provider end point was not found. ...Show All
