Answer Questions
Patrick Brand Can WWF can run with Framework 2.0 ?
My company's developping project using Visual Studio 2005 Professional (DotNET framework 2.0). My work's using WWF. Can I use WWF with this version of Framework How to install and use And if the answer is "Can't" and I have to install DotNET framework 3.0 and Visual Studio 2005 Extensions for Windows Workflow Foundation. May my project can work well with the others using framework 2.0. My project just is a part of my company's project. Please help me ! According to the video SampleSimpleWorkflow of Biztalkgurus.com : http://www.biztalkgurus.com/windows-workflow-foundation.aspx There are 4 tab in the design page: Sequential workflow, Workflow exception, Work events and workflo ...Show All
MMCompton Workflow properties when debugging
Hi, I am debugging a workflow winform application in Visual Studio, and was expecting to be able to monitor the values of workflow properties as I step through. This does not seem to be the case though. Does anyone know if this is by design or not Thanks and regards, /Valur If you workflows are in a workflow library you need to set it as the startup project in order to invoke the workflow debugger. On the project properties for your workflow project, set the startup to start the debug build of your winform exe. Matt I'm running the workflow debugger by setting the workflow library as startup project and pointing to my winform executable. I see the top call stack activity properties ...Show All
ThunderRock Vista Certification Test Case 16 Issue
Hi, I'm just going through the certification process and was advised that my .application manifest did not show up as signed when they looked at the Properties tab in WIndows Explorer. This is correct and I found it during my pre-testing as well but I actually thought it was OK as I have signed the manifests files (.application and .manifest) using mageui. I also tested using VS2005 Project Properties signing process and it did not produce the Property tab info in WE either. I know the manifests are properly signed (as ClickOnce doesn't allow them not to be I think) as when you install you get the appropriate security dialogs with links to our certificate information. My issue is that the certification testers obviously fo ...Show All
Oh2BaLuddite! Can't stop or start service from client app ("access is denied")
Hi, Quick question for all you Vista gurus out there. We have a service (running as SYSTEM) and we need to be able to stop and start it from our client application, which is running as a standard user. Is this possible Our app was designed originally to run as administrator, but in order to get Vista certification we can't have it demand administrator access ( ) so I'm trying to get it to run with the "asInvoker" access instead. But when I do that it can't access the service via the ServiceController. When we call serviceController.Stop() we get "InvalidOperationException: cannot open service on computer '.' --> Win32Exception: access is denied". The "Stop()" method is calling the "GetServiceHand ...Show All
NuclearChicken Help for beginner plz
Hi all ... Am new to windows workflow , am trying to do the example on the following link : http://msdn2.microsoft.com/en-us/library/aa480214.aspx but the problem that the workflow always starts before the windows form , i need to make the windows form starts 1st and after i press the button the workflow start ... am trying to do it without cutting and pasting the code , i drag and drop the needed items from the tool box . i hope you understand the problem. best regards That article was written based on Beta 2 of Windows Workflow Foundation and is out of date. For more recent sample go to http://msdn2.microsoft.com/en-us/library/ms74172 ...Show All
Jim Thompson Updates and "Works with Windows Vista"
Hello. If I certified my Software to get the "Works with Vista" Logo and the Software needs a Update to fix some Stuff. Is it necessary to repeat the Steps for Using the Logo Kind regards jping How about the Certified Logo program Recently, I spoke with a gentleman from Microsoft's ISV support team and he told me that you only need to get an application certified once. Subsequent updates/fixes/new features etc won't require going through testing again and you can use the logo. Is that true If so, great - I'll continue getting my software certified. If not, I might as well stop since it will be too costly to keep getting re-certified. Thanks, John. ...Show All
Kevinmac Problem with Rules and comparisons on nullable types
I'm building an application (using .NET 3.0 RC1) where I want to allow my customers to create simple Rules to do a consistency check on amounts on an invoice. They might create a condition like this.totalAmount > 500 to flag invoices that total more than $500.00. This works OK. But they also need to be able to check whether the total amount is more than the total amount of the last invoice, which would be a condition like this.totalAmount > this.previous.totalAmount where I set previous to be a reference to the previous invoice. This also works OK, except for one case. At times there won't be a previous invoice (for example, the oldest invoice in the database won't have a previous invoice.) Of course, we could add a ...Show All
Solk OnLoad event
I'm trying to create the a WPF/E control and hook up a some events after it has loaded it's XAML. I've trying a zillions of ways to hook up the onload/onloaded/loaded event (or what ever it is called - the doc is not too clear on that), but no luck. I'm also confused on whether I should hook the event to the host or to the WPF/E Control Basically here's what I'm trying to do: this ._host = new agHost( this .get_element().id, // hostElementID (HTML element to put WPF/E control into) this .get_element().id+ "_wpfeControl" , // ID of the WPF/E ActiveX control we create this ._width, // Width this ._height, // Height this ._backColor, // Background color null , // SourceElement (name of script tag containing x ...Show All
Anand Raman - MSFT Location of contact.h/icontact.idl?
Are contact.h and/or icontact.idl present in Windows SDK I need to use Windows Contacts and to access IContact interface I need contact.h or icontact.idl. It's icontact.h now. -- //Pekka Timonen Thanks, Pekka, that was very helpful. Cheers, Jacob I have the Windows SDK for the September CTP (6.0.5728.0.4.WindowsSDK_Vista_idw.DVD.Rel), but it seems to also be missing contact.h (i.e. it is not in the \include folder). Is this the correct CTP Hi Tom, Thanks! I am eagerly waiting for the next CTP! Thanks for the quick answer, Mike! I will get back to ...Show All
Philip Jaques Test Case 32: Is WER necessary for this test case
I am not clear about ThreadHijacker tool to test my application.It inserts /AV in to the app. I think that there must be the code to handle the structerd exception in my app. so i am trying to use following code : #include "stdafx.h" #include <windows.h> #include "errorrep.h" static LONG WINAPI ExceptionFilter( struct _EXCEPTION_POINTERS * pExceptionPointers ); int _tmain( int argc, _TCHAR* argv[]) { DWORD *pdw = NULL; BOOL fUseGlobalExceptionFilter = FALSE; if (argc > 1 && _stricmp(argv[1], "UseGlobalFilter") == 0) { LPTOP_LEVEL_EXCEPTION_FILTER myfunc = SetUnhandledExceptionFilter(ExceptionFilter); if (myfunc == NULL){ exit(0); } // caus ...Show All
Caioshin Exception when Persistence and Tracking Services are used together...
Have a state machine workflow that gets started inside the Application_Start of a Web Service. As long as I have EITHER the Persistence service OR Tracking added, everything runs just fine. But ONLY when I add both, I get the following: Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Workflow.Activities.EventDeliveryFailedException: Event "OrderCreated" on interface type "WorkflowCommunication.IOrderController" for instance id <GUID> cannot be delivered. ---> System.InvalidOperationException: Workflow with id <GUID> not found in state persistence store. at System.Workflow.Runtime.Hosting.P ...Show All
GustavoPollitzer Unexpected shutdowns of Vista Build 6000
OS Name MicrosoftR Windows Vista Ultimate Version 6.0.6000 Build 6000 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Name XPS System Manufacturer Dell Inc. System Model Dell DXG061 System Type x64-based PC Processor Intel(R) Pentium(R) D CPU 3.20GHz, 3192 Mhz, 2 Core(s), 2 Logical Processor(s) BIOS Version/Date Dell Inc. 1.1.3, 7/31/2006 SMBIOS Version 2.3 Windows Directory C:\Windows System Directory C:\Windows\system32 Boot Device \Device\HarddiskVolume2 Locale United States Hardware Abstraction Layer Version = "6.0.6000.16386" User Name HOME\steve Time Zone Eastern Standard Time Total Physical Memory 2,044.92 MB Available Physical Memory 914.10 MB Total Virtual Memory 4.21 GB Available Virtual ...Show All
Thomahawk WaitForSingleObject doesn't work for Internet Explorer
Hi, I start Internet Explorer by CreateProcess: CreateProcess(....., &procinfo) myhandle = procinfo.hProcess; After that I wait for Internet Explorer to be closed: DWORD dwait = WaitForSingleObject(myhandle, INFINITE); This code works fine on XP, but for Vista it doesn't. The WaitForSingleObject returns immediately. So, while Internet Explorer is still running. Does anybody now how to do this properly on Vista Thanks in advance. Klaas http://www.microsoft.com/downloads/details.aspx FamilyId=7614FE22-8A64-4DFB-AA0C-DB53035F40A0&displaylang=en Beware, it is 1.1GB in size :-) Can you provide a link for the SDK that contains the d ...Show All
Sunil Virmani Propagate CallContext
Hi, How can I propagate CallContext to the executed activities Imagine I have a workflow with 1 code activity. Before I start the workflow instance, I set a parameter in CallContext: CallContext.SetData("TLS1", "1"); WorkflowInstance wi = _workflowRuntime.CreateWorkflow(workflowType, workflowParameters); wi.Start(); .... and then in the CodeActivity handler I want to be able to access the previously set parameter: private void codeActivity1_ExecuteCode(object sender, EventArgs e) { Console.WriteLine("codeActivity1_ExecuteCode on ThreadID = " + Thread.CurrentThread.GetHashCode()); Console.WriteLine("CallContext.GetData(\"TLS1\") = " + CallContext.GetData("TLS1")); } Of co ...Show All
Oren Solomon Is LVS_EX_COLUMNOVERFLOW implemented?
I can't make this style work. The listview has 5 columns, but only 2 and a part of the 3rd column fit into the client width. The listview has the following styles: WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE WS_EX_CLIENTEDGE | WS_EX_LEFT | WS_EX_LTRREADING | WS_EX_RIGHTSCROLLBAR LVS_EX_DOUBLEBUFFER | LVS_EX_HEADERDRAGDROP | LVS_EX_FULLROWSELECT | LVS_EX_HEADERINALLVIEWS | LVS_EX_COLUMNOVERFLOW It contains 10 items and is in icon view. I would expect a chevron button being displayed in the header control, but there isn't one. If I explicitly set the HDS_OVERFLOW style on the header control, the button is displayed. So why doesn't LVS_EX_COLUMNOVERFLOW work Is it not implemented TiKu I remember Jim Allchin encour ...Show All
