Software Development Network Logo
  • IE Development
  • Audio and Video
  • Visual C#
  • Visual Basic
  • Game Technologies
  • Windows Vista
  • Visual Studio
  • Visual FoxPro
  • SQL Server
  • VS Team System
  • SharePoint Products
  • Windows Forms
  • Smart Devicet
  • Microsoft ISV
  • Visual C++

Software Development Network >> Windows Vista

Windows Vista

New Question

How to hit test non-client buttons in Vista?
The new WZC API
Widgets/Controls
restoring all workflows from persisted storage
Used of AddAutomationFocusChangedEventHandler in WPF application
Private members in activity: how and where to initialize them ONCE?
Vista Shell and Managed Code
The Windows CardSpace service is disabled by your administrator
Error in Beta2
How to use guides with the RecognizerContext?

Top Answerers

Kamii47
JavaBoy
Sundar Srinivasan
Pockey
Robert D Misiak
jljamison
Musafir
Pekec N
Deveyus
Neotech
The Coming of Age of
Only Title

Answer Questions

  • Evgeny Popov possible bug in Workflow designer?

    I created another property on my custom activity. This time it was a List<Step> Step being a custom type. declared as follows public static DependencyProperty ResetStepsProperty = DependencyProperty .Register( "ResetSteps" , typeof ( List < Step >), typeof ( RejectApprove )); public List < Step > ResetSteps { get { return ( List < Step >)GetValue(ResetStepsProperty); } set { SetValue(ResetStepsProperty, value ); } } when setting the properties in the ui it has the ellipses. which launches the collection editor but after I add a couple and close the dialog the xoml file shows an asterik but my collection is null. ResetSteps = " {x:Null} ...Show All

  • twaltz Reuse policies and rules

    We are going to have a large number of workflows. Within these workflows we will have policies with rulesets used to validate the data and evaluate against business policy. A number of the rules are common to many policies and a number of policies are common to workflows. I cannot find a way to reuse a rule in several policies or reuse a policy in other workflows. Suggestions thanks Don You can reuse the rules in workflows if you externalize your rules. The external ruleset demo has a custom policy that fetches rules from a database. You could potentially do something like that. If you would like code samples, send me mail - kavitak at microsoft dot com Maggie Ying - MSFT wrote: Or ...Show All

  • Mystagogue WorkflowInstance.Abort vs WorkflowInstance.Terminate

    What's the difference between this two actions, besides that Terminate receives a string indicating the error Ok, thanks guys Terminate will mark the instance as completed so it cannot be resumed. When you call Abort - the last good persisted version of that instance can be resumed. Abort:  You can resume an aborted workflow from the previous persistence point. Terminate: Terminated workflow cannot be resumed and it is deleted from the persistence store. Check Moustafa's blog post to understand the workflow lifecycle http://blogs.msdn.com/moustafa/archive/2006/03/02/542459.aspx ...Show All

  • briendjf Vista ListView Focus/Selection style

    How can I say that the ListView control should use the focus/selction style like in explorer My items have just the blue background, not the much cooler explorer 3d stuff. btw: I'm using the application manifest. Steffen How can I use this with Visual Studio and C# I don't know what that L in front of "explorer" means. You're welcome! Drawbacks: You can't custom draw, and you'll want to test your app again with the new style to check for new bugs. This isn't documented yet, and the final decision has not yet been made on which app names will be available. Hopefully by Beta 2 things will be more settled. Can we please get an update from the Microsoft team ...Show All

  • r0x0r How to optionally set an output parameter in xaml

    I want to use an inner activity to set the output parameter of the workflow. This seems simple enough with a simple workflow: <DT:MySequentialWorkflowActivity Response="{ActivityBind Name=child, Path=Message}" ...> <MyChildActivity x:Name="child" Message="This was read from a child" /> </DT:MySequentialWorkflowActivity > But how do I optionally bind to different activities For example if I used an ifElse activity how can I push a property from an Activity within the branch that executed into the output parameter: <DT:MySequentialWorkflowActivity Response="{ }" ...> <IfElseActivity x:Name="ifElseActivity1"> <IfElseBranchActivity x:Name ...Show All

  • Chris Baldwin - MSFT Distributed Transaction FAQ

    Hi, We wish to perform distributed transactions (using ADO.net 2) across multiple DB instances. Another team's previous experience with DT has shown that in the case where the application crashes it is possible that transactions will be stuck (some blame to DTC failing to realize the application crashed). The stuck transactions had to be manually killed Is that possible Does the MSDTC not have a timeout Is it configurable What are the problems I should expect when performing a distributed transaction Almost everyone I went to ask about this told me to stay away from DT but have had too little experience to be considered "reliable'. Your advice appreciated. Cheers, Hi,   I'm trying to answer all your questions: ...Show All

  • solehome 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

  • Flame Thrower IRealTimeStylus

    Hi , I don' t find how to use the RealTimeStylus interfaces to create plugins in C++. I only want to grab pressure information and subpixels coordinates of the tablet input. Here is my test, but it crashes. Someone can help me Thx. //------------------------------------------------------------------------ class cStylusAsyncPlugin : public IStylusAsyncPlugin { public: /** The destructor. */ virtual ~cStylusAsyncPlugin() { } /** The constructor. */ cStylusAsyncPlugin() : IStylusAsyncPlugin() { } virtual HRESULT STDMETHODCALLTYPE RealTimeStylusEnabled( IRealTimeStylus *piRtsSrc, ULONG cTcidCount, const TABLET_CONTEXT_ID *pTcids) { return 0; } virtual HRESULT STDMETHODCALLTYPE RealTimeStylusDisabled( /* [in ...Show All

  • FrankSp Access Denied

    I just did an upgrade from Windows XP to the 'released' version of Windows Vista. In testing this upgrade, I found that several folders were inaccessible and I am being given an 'access denied'. I am logged on as administrator, I am the owner, I have checked all the security measures and am still locked out. I did an upgrade on another system and the same folders are locked. One of them is My Music. While it's no big deal for me, I need to find out if there is a fix prior to me helping others install Vista when it's released. I know a number of people who have a tremendous amount of music on their systems which they don't want to lose. ...Show All

  • Mikx How to reference to System.Workflow.Runtime.Hosting.Web

    Hi All, I am creating a workflow sample with ASP.NET 2.0. I am using WorkflowWebRequestContext to get the workflowruntime but getting declaration error. I am not able to find System.Workflow.Runtime.Hosting.Web namespace. Could anyone update me what assembly I need to reference for this Would appreciate your help Cheers, Sansanwal Sansanwal - they removed that namespace after beta 2.0(I think that was the version). The answer generally is that if you need to get ahold of the WorkflowRuntime you need to create your own hosting layer. Thanks It worked now. Ironically, there is not a single mention of it in WinFX documentation ...Show All

  • Grant Jenkins Control Panel ListView

    Hi all, I would like to use a ListView for my application that looks and behaves like the one in the new Control Panel in Vista. I mean those list items which consist of an icon, one big green link and several smaller blue links. It should also have the new select/hover style. I am using C# with VisualStudio 2005. I found a solution to apply the new select style by calling SetWindowTheme(hwnd, "Explorer") on the ListView but this does not seem to work. Are there any ready controls available yet Thanks, Flo That's not a listview. It's a completely custom control that draws all the green and blue text manually. It is not a public control. ...Show All

  • GrkEngineer XPS writer driver - how to insert links and previews

    Hi, can anyone point me to someone who can help to deploy the "Microsoft XPS Document Writer", for example to insert hyperlinks and/or homemade thumbnail previews into the XPS file created by the document writer... I guess by an Escape() call - if possible at all - but there's no documentation I can find. Christian Is it win32 app or wpf app prints If the app is Win32 app, then you can use MXDC_ESCAPE to configure the MXDC output. Christian, There is clearly something broken or not supported in the MXDC escapes. When I did this, it creates thumbnail part in Documents\1\Metadata, but thumbnail is empty: I would ask MSFT guy's to shed some light: 1. Why it creates em ...Show All

  • Douglas McClean adding dynamic properties to custom Activity

    Any example on changing custom activity properties in the OnActivityChanged event Just like the InvokeMethod Activity does... Thanks in advance, Ariel Schapiro Take a look at Ghenadie's Dyanmic properties sample found here . ...Show All

  • bilalso Multi threads problem in Directshow AVI MUX

    I am writing a directshow application to convert a flash movie into an avi movie. When I am running this application in one thread, everything works fine. But when running in multi threads, the application always gives me the E_INVALIDARG error code when IMediaControl->Run() is called. I tried to push multiple threads running and there's only one thread can finally finish the task. The rest all get E_INVALIDARG error code. I tried different codec such as MJPEG Compressor, 3IVX and etc. None of them solves the problem. My best guess is there could be something wrong in the AVI MUX like File Writer, File Sink Filter Or maybe one thread opens up something and forgets to close it I have been struggling with this problem for couple days an ...Show All

  • drewex DelayActivity, State-Machine Workflow, Sharepoint

    Hi there! We've got a problem with a state machine workflow in sharepoint 2007, especially with the delay activity. It seems to me as if the event of the timeout is generated, but not executed. My workflow is quite simple. It only has three states, Start, Execute and Completed. I create a task in the Start State and step to Execute State. This one has two EventDrivenActivities. First a OnTaskChanged an second a Delay (20 sec). If I install my workflow to a document library in sharepoint, start it an finish the task within 20 sec (debug mode VS2005) nothing surprising happens. The Code in the OnTaskChanges branch is executed as it should be. If I wait my 20sec without working on the task, the code of the Delay branch should be executed, but ...Show All

555657585960616263646566676869707172

©2008 Software Development Network

powered by phorum