Yves Dolce

MCS Partner ISV

November, 2006

  • Yves Dolce

    KnownFolders, Vista and managed code

    • 0 Comments
    Still need to polish it but this should be in the Windwos SDK SAmples VistaBridge in the future. Comments are welcomed! namespace VistaBridge.Shell { using System; using System.Diagnostics; using System.Runtime.InteropServices; public...
  • Yves Dolce

    Call me crazy but one of the first thing I run after installing Vista on a box is...

    • 3 Comments
    mklink /J %SystemDrive%\Contacts "%USERPROFILE%\Contacts" mklink /J %SystemDrive%\Desktop "%USERPROFILE%\Desktop" mklink /J %SystemDrive%\Documents "%USERPROFILE%\Documents" mklink /J %SystemDrive%\Downloads "%USERPROFILE%\Downloads" mklink /J %SystemDrive...
  • Yves Dolce

    GOOD BYE LENIN!

    • 2 Comments
    Just spent two wonderful hours watching that movie . I'm sure I missed a lot of the culture specific humour and having some of the same tunes as Le fabuleux destin d'Amélie Poulain movie was a small mistake but still, it was very nice.
  • Yves Dolce

    My simple Display-EnvironmentVariable function for PowerShell

    • 0 Comments
    Function Display-EnvironmentVariable { Get-ChildItem ENV: | sort-object -property Name | format-table -autosize } set-alias dev Display-EnvironmentVariable
  • Yves Dolce

    DJ Dolores: que legal!

    • 0 Comments
    I don't listen enough to KEXP ! Today around 1:30, I listened to a very nice tune while driving but I don't manage to get the title nor the interpreter at the end of it. Back home, I jump on the KEXP site , go to their amazing playlist section and find...
  • Yves Dolce

    My PowerShell host prompt

    • 0 Comments
    Looking at others code is the best way to learn. I looked at some and modified it, adding the environment variables for the Windows SDK 6.0 (for my needs). Here it is: $env:MSSdk = "C:\Program Files\Microsoft SDKs\Windows\v6.0" $env:SdkTools = ...
  • Yves Dolce

    Throw If Fails

    • 1 Comments
    I like to use this when writting sample code: inline void Tif(HRESULT hResult) { if FAILED(hResult) { throw _com_error(hResult); } } inline void Tif( bool succeeded) { if (!succeeded) { DWORD lastError = GetLastError(); throw...
Page 1 of 1 (7 items)