Answer Questions
millerfjtp CorrelationToken & CorrelationParameter
I understand the use of a CorrelationToken in case you have an OwnerActivityName that has multiple correlations inside of it. I would think however that with this unique name (correlationtoken+owneractivityname) I would not need to have a unique CorrelationParameter. How is the correlationparameter related to the CorrelationToken Thanks! So, what you are saying then is that I might have multiple CallExternalMethods/HEE that are calling into the same method/expect a message back from the same event within a workflow and that the CorrelationToken identifies which one of these callers it goes back to Like: Token1 ->Owner1->param1->CEM Token1->Owner1->param1->HEE Token2->Owne ...Show All
Steven P. A Bug In The Data Bind Dialog?
I've created the following two simple classes public ClassA { } public ClassB{ } I've then created a simple activity called TestActivity that contains a Dependency Property for ClassA and a DependencyProperty for ClassB. I then create a simple workflow with 2 TestActivity objects. I open the Data Bind Dialog for the DependencyProperty of ClassB. In the 'Bind to an existing member' tab I can see properties of both property types ClassB and ClassA. But if I select the property of type ClassA I see the following message "The selected property of type 'WorkflowConsoleApplication1.ClassA' can't be assigned to the target type. Select a property of type 'WorkflowConsoleApplication1.ClassB'." If I don't read the messa ...Show All
Jweige How to do WlxGetOption for Vista( Cred provider model)
There is this function defined in winwlx.h for XP and below. BOOL WlxGetOption( HANDLE hWlx , DWORD Option , // I need WLX_OPTION_SMART_CARD_INFO ULONG_PTR* Value // returns a WLX_SC_NOTIFICATION_INFO structure. ); Documentation says these are ignored for Vista. What is the substitute of such a function in Vista Thanks, - dchawla. There's no substitute for this. A smartcard credential provider is responsible for monitoring smartcard insertion/removal events (SCardGetStatusChange will prove handy). ...Show All
JamesScottJr set up analysis tool
hi, when i try to install sceinstall.exe i.e. the set up analysis tool. it asks for a UNC share location. what is it i am creating the ACT database on another database server (server 2003) and trying to install set up analysis tool on vista. can anybody resolve my issue regards, divya Funny you should ask.... I recently had my questions about this tool too : ) How to use this tool: 1) Install on XP only. This tool needs a baseline for it's analysis and uses XP for this baseline. 2) Say N for virtual, unless you really require. 3) Then specify the share location you want the analysis log file to go. Ensure write permissions for share 4) specify the setup file 5) Setup file starts ...Show All
PerPixel Resource leaks
Hi all, I was working on the Threads. After killing a thread my application is getting slow. Is is that because of resource leak due to TerminateThread() if it is so...how do i find resorce leaks due to thread.. Thanks.. ...Show All
babarzhr What is Zero-day?
Please help me.Thanks. Zero-Day Security Exploit in Internet Explorer ...Show All
forrestcupp Problem with custom CallExternalMethodActivity
I have successfully implement a local service allowing me to pass parameers into the workflow. Now I want the workflow to return data. I have created a custom activity derived from CallExternalMethodActivity. I have followed the example as outlined at http://windowssdk.msdn.microsoft.com/en-us/library/ms734768.aspx . I then added the custom activity to my workflow. I attempted to then bind the data property under the Properties of the activity. It is here when I receive an error. Could not bind property "ReturnData". Object of type "System.Workflow.ComponentModel.ActivityBind" cannot be converted to type "System.Collections.Specialized.IOrderedDictionary". NOTE: it still creates the property bindin ...Show All
NetPochi how to change namespace of web methods
I have endpoints of my statemachine workflow exposed as web methods. The starting element of my soap body looks like this: <VerifyIncident xmlns="http://tempuri.org/"> How can I change this so that the xmlns attribute = http://mydomain.com This is also causing the SOAP Action to be SOAPAction: http://tempuri.org/VerifyIncident You can specify the namespace using the Namespace parameter of the WebServiceAttribute in your web service class: [WebService(Namespace="http://mydomain.com")] Thanks for the reply. The generated code only creates a single web service file. The only code in this file is <% @ WebService Class =& ...Show All
macthefork Visual Studio 8 + MFC App Wizard + Won't Compile
Hi, I'm trying to follow along in a textbook that wants me to use the MFC application wizard to create a program, but shouldn't I be able to compile no problems right after I click finish I'm using visual studio 8 with latest version of windows platform SDK. Single document, MFC standard, document/view architecture support, use MFC in shared DLL, No compound document support, no database, common control manifest. Program name: CDApp The errors are complaining about this particular block of code: BEGIN_MESSAGE_MAP(CCDAppApp, CWinApp) ON_COMMAND(ID_APP_ABOUT, &CCDAppApp::OnAppAbout) // Standard file based document commands ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew) ON_COMMAND(ID_FILE_OPEN, &a ...Show All
Jimmy Xiong VS2005 and directshow
Hi all Got some problem with the new visual studio 2005 and directshow baseclass project and warning coming from the compiler. I read in several ng on google that maybe the actual psdk (april 2005) could not be full compatible with vs 2005. Is there any date for an update version of the psdk Please reply as soon as possible... please Lorenzo Malaguti Updated on May 2, 2005 http://www.microsoft.com/downloads/details.aspx FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en It would be easier to know what compile problems you are having. Further the VS2005 forum can also help you if its an issue with VS2005 and not the SDK. It is important to set the o ...Show All
meighlough WorkflowAuthorizationException thrown from a WebServiceInput activity terminates the workflow
Hi I have been looking at this problem for a large part of the day and i'm completely stumped! I have created a state machine workflow exposed as a web service. On the initial state I have an event driven activity which contains a WebServiceInput activity and a WebServiceOutput activity. This all works fine. As an initial test on how to handle a WorkflowAuthorizationException I have set up the roles on the WebServiceInput activity to ensure that an authorization exception will be thrown. My problem is that I don't want the workflow to be terminated when a workflow authorization exception occurs. Instead I want a soap exception to be sent back to the client indicating an authorization exception and the workflow should remain at the ...Show All
DegreeZ 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 You should be able to download the sample now. If still have any problems let me know. Hi Ramrajprabju, I really love this sample. It's the first good example of ...Show All
jmoyet Using VB6 on Vista
Is VB6 support on Vista as a development language I have a VB6 application (which is pretty big), but when I come to compile it on Vista RC2 is fails to register all the activeX dlls that are build as part of the application. I did manage to get round it, but only by running VB6 as Administrator. In a day to day dev environment I don't want to do this every time. I am a local admin so why doesn't this allow VB to register my dlls. Does this behavior have something to do with UAC Thanks for your help Graham Portions of one of my applications are created with VB6. We've been able to successfully run these VB6 created EXEs under a Vista limited user account with UAC active with no problems. I ...Show All
Sqnyy CardSpace in P2P
Anyone have any pointers on how CardSpace [could be]/[is intended to be] used with WCF net.p2p (or similar) technology steven http://stevenR2.com Hi Garrett - i'm interested in scenarios such as peer services, which may not necessarily run under the context of the interactive user, say a Windows Service. Look forward to the upcoming scenarios! steven http://stevenR2.com Garrett, I had two questions: 1) Any reason why there are no RC1 samples available on the cardspace site 2) I was thinking of using CardSpace as an authentication scheme for a P2P game that had a single authentication server location. Is this a good scenario All I really need is a card that con ...Show All
Aleniko29139 wwf
hi, i want to learn more about windows workflow foundation. i want to learn how to create a simple web form with wwf. can you help me... check out the docs here for an overview: http://msdn2.microsoft.com/en-us/netframework/aa663322.aspx Especially the doc: http://msdn.microsoft.com/msdnmag/issues/06/03/cuttingedge/default.aspx should help you get started. Community samples: http://wf.netfx3.com/files/13/default.aspx To download .NET 3.0 which has WF in it check here: http://msdn2.microsoft.com/en-us/windowsvista/aa663308.aspx http://msdn2.microsoft.com/en-us/windowsvista/aa904955.aspx Let us know if you need more help. Vignesh As of today, my Pro WF book by Apress is also now availab ...Show All
