Browse by Tags - Anything's Possible - Site Home - MSDN Blogs

Anything's Possible

Ever heard a developer say "it can't be done?" It is one of my biggest pet peeves. The truth is, it can be done. If you approach a problem pragmatically and put enough effort into it, understanding the root issues, and not settling for sub-pa

Browse by Tags

Tagged Content List
  • Blog Post: Working with Deleted Build Data in Team Foundation Server 2010

    In Team Foundation Server 2008 you could delete builds both from the Build Explorer, using the context menu on one or more builds, and from the command line, using TfsBuild.exe. Also, retention policy would automatically delete builds as specified. Once you deleted the build, you no longer were able...
  • Blog Post: Working with Deleted Build Data in Team Foundation Server 2010

    Introduction In Team Foundation Server 2008 you could delete builds both from the Build Explorer, using the context menu on one or more builds, and from the command line, using TfsBuild.exe. Also, retention policy would automatically delete builds as specified. Once you deleted the build, you no longer...
  • Blog Post: Interop with PROPVARIANTs in .NET

    Introduction When it comes interop, .NET has solved most of the hard problems. However, if you've worked with COM interfaces that return or take PROPVARIANTs as parameters, you may have noticed that there isn't much support for this union'd struct type. I came across one such interface, and needed...
  • Blog Post: Interop with PROPVARIANTs in .NET

    When it comes interop, .NET has solved most of the hard problems. However, if you've worked with COM interfaces that return or take PROPVARIANTs as parameters, you may have noticed that there isn't much support for this union'd struct type. I came across one such interface, and needed a good way to interop...
  • Blog Post: PropVariant.cs

    Back to Interop with PROPVARIANTs in .NET namespace System.Runtime.InteropServices.ComTypes { using System; using System.Runtime.InteropServices; /// <summary> /// Represents the OLE struct PROPVARIANT. /// </summary> /// <remarks> /// Must call Clear when finished to avoid memory...
  • Blog Post: Shell Style Drag and Drop in .NET - Part 3

    Series Links This is part of a 3 part series: Shell Style Drag and Drop in .NET (WPF and WinForms) Shell Style Drag and Drop in .NET - Part 2 Shell Style Drag and Drop in .NET - Part 3 Introduction In Part 1, Shell Style Drag and Drop in .NET (WPF and WinForms) , I opened up the...
  • Blog Post: Shell Style Drag and Drop in .NET - Part 2

    Series Links This is part of a 3 part series: Shell Style Drag and Drop in .NET (WPF and WinForms) Shell Style Drag and Drop in .NET - Part 2 Shell Style Drag and Drop in .NET - Part 3 Introduction Last week, in Shell Style Drag and Drop in .NET (WPF and WinForms) , I looked at hooking...
  • Blog Post: Shell Style Drag and Drop in .NET (WPF and WinForms)

    Series Links This is part of a 3 part series: Shell Style Drag and Drop in .NET (WPF and WinForms) Shell Style Drag and Drop in .NET - Part 2 Shell Style Drag and Drop in .NET - Part 3 Window Explorer Drag Image Introduction If you've worked with .NET drag and drop, you may have...
  • Blog Post: Shell Style Drag and Drop in .NET - Part 3

    In Part 1, Shell Style Drag and Drop in .NET (WPF and WinForms) , I opened up the discussion about implementing a nice Shell style drag image, like that of Windows Explorer, in C#. This involved exposing a couple of COM interfaces to .NET, as well as implementing the COM IDataObject interface. In Shell...
  • Blog Post: Shell Style Drag and Drop in .NET - Part 2

    Last week, in Shell Style Drag and Drop in .NET (WPF and WinForms) , I looked at hooking up the COM interfaces necessary to implement drag images using the Windows Shell. This week, I'm going to introduce some .NET 3.5 extensions (which can be easily converted into .NET 3.0 and earlier static helper...
  • Blog Post: DragDropLib.cs (Part 2)

    Back to Shell Style Drag and Drop in .NET - Part 2 namespace DragDropLib { using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; #region DataObject /// <summary> /// Implements the COM version...
  • Blog Post: DragDropLib.cs

    Back to Shell Style Drag and Drop in .NET using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace DragDropLib { #region DataObject /// <summary> /// Implements the COM version of IDataObject...
  • Blog Post: Shell Style Drag and Drop in .NET (WPF and WinForms)

    If you've worked with .NET drag and drop, you may have noticed that the pretty images that Windows Explorer paints while dragging items does not come for free. In fact, by default, .NET will give you a rather ugly black and white cursor with the drag effect indicator (copy, move, none, etc). I wasn't...
Page 1 of 1 (13 items)