Yves Dolce

MCS Partner ISV

  • Yves Dolce

    System.Xml.Linq and Office Open XML

    • 3 Comments
    Starting to play with those. So just FYE, here is what I wrote yesterday: // create the new document.xml package part Uri documentUri = new Uri ( "/word/document.xml" , UriKind .Relative); PackagePart documentPart = package.CreatePart(documentUri...
  • Yves Dolce

    Diario de letras existe thanks to Microsoft Office Live Small Business

    • 0 Comments
    It's amazing what my girlfriend was able to do in so little time thanks, in part, to that simple designer UI. http://office.microsoft.com/en-us/officelive I would love to see more features but I can understand why we limit the freedom of site owners....
  • Yves Dolce

    Live Search Maps has just been updated...

    • 0 Comments
    I really love that stuff. Check it out at http://maps.live.com . Go to Roma, try the 3D view and then enable Bird's eye view " in 3D" !
  • Yves Dolce

    Fellini's Roma (Bent Remix) on KEXP

    • 0 Comments
    On my way to work this morning, I was listening to KEXP and heard that song. Went to KEXP 90.3 FM - Playlist once in the office and found all the info:   8:21 - Czech Philharmonic Chamber Orchestra - Fellini's Roma (Bent Remix) - Cinematic: Classic...
  • Yves Dolce

    PowerShell: (Get-ChildItem | Get-Member | ? { $_.Name -eq "Mode"}).Definition

    • 0 Comments
    I was curious about that *nix like mode for the item ('d----') [13] gci     Directory: Microsoft.PowerShell.Core\FileSystem::C:\Users\yvesdolc Mode               ...
  • Yves Dolce

    Exceptions in C++

    • 0 Comments
    This keeps being an entertaining topic: Ale Contenti and Louis Lafreniere: Understanding Exceptions and When/How to Handle Them .
  • Yves Dolce

    C++/CLI : IntPtr to an HWND

    • 0 Comments
    I was fed up with always having to write different code for x86 or x64 so I wrote intptr_cast<>. Still a lot of things to think about here but I wrote those couple of lines as a sample. I thought this might not only give you ideas but maybe...
  • Yves Dolce

    HRESULT for managed code? HResult!

    • 0 Comments
    As usual, comments are welcomed! HResult.h #pragma once namespace Microsoft { namespace MCS { namespace PartnerISV { using namespace System; public ref class HResult { HRESULT _hResult; String ^_description; public...
  • Yves Dolce

    Recorded books...

    • 0 Comments
    This is the first I'm listening to one in my life: A man without a country from Kurt Vonnegut . I figured out that while I'm putting order in my apartment, I might as well expand a bit my mind by listening to a recorded book. This is such an entertaining...
  • Yves Dolce

    Find-Item that used to be DIR /S

    • 0 Comments
    Under CMD.EXE, I used DIR /S a lot. Under PowerShell, this would translate as gci -r –fi . So I added the following to my profile: Function Find-ItemWithFilter { param ([ string ] $filter = $ ( throw "You must specify a filter ( e.g. * .doc )")...
  • Yves Dolce

    My PowerShell profile

    • 0 Comments
    Thought I would just share this new version: Function prompt { $windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent() $windowsPrincipal = new-object 'System.Security.Principal.WindowsPrincipal' $windowsIdentity $windowTitle...
  • Yves Dolce

    Ring tones: I typically don't care

    • 0 Comments
    nor would I ever pay to get one but this site has plenty interesting ones for free: http://www.funkyrabbit.com/ I picked release me as my ring tone. Enjoy.
  • Yves Dolce

    ItemPropertySet: accessing the Property System from managed code...

    • 1 Comments
    So, this code should eventually make it to the VistaBridge Windows SDK code sample (" no official support" ) . It's in C++/CLI as it uses macros and templates quite a lot... It is really a beta version as I’d love to have other people use it and tell...
  • Yves Dolce

    PowerShell, performance and regular expressions

    • 0 Comments
    Yesterday evening, I started to read Windows PowerShell in Action and did confirm what I had already read here and there: it’s a good book! So this morning, I was playing around and trying some of the stuff I had read: > Get-Process...
  • Yves Dolce

    .NET Reflector on IL generated by C# 3.0 (LINQ)

    • 1 Comments
    Nothing like using .NET Reflector . The following C# code: public class Student { public string First { get ; set ; } public string Last { get ; set ; } public int ID { get ; set ;} public int [] Scores; } class Program { ...
  • Yves Dolce

    Known Folders, the return...

    • 0 Comments
    Fixed some bugs (thanks Catherine ) and you can [un]register your own Known Folder now: Interop.cs: using System; using System.Runtime.InteropServices; namespace Microsoft.SDK.Samples.VistaBridge.Library.Shell { public enum KnownFolderCategory...
  • Yves Dolce

    Listing your properties...

    • 0 Comments
    I'm still working on a managed property system wrapper but after some excellent comments from Ben Karas , we decided to hold off and have a meeting. Something I can show today is how to list all your system properties in native C++: #ifndef _WIN32_WINNT...
  • Yves Dolce

    IID_PPV_ARGS macro

    • 0 Comments
    You'll find it in ObjBase.h: // IID_PPV_ARGS(ppType) // ppType is the variable of type IType that will be filled // // RESULTS in: IID_IType, ppvType // will create a compiler error if wrong level of indirection is used. // extern...
  • Yves Dolce

    Babel - What a movie!

    • 0 Comments
    Went with Javier and Mariana to watch it tonight. What a ride. What a beautiful way to depict Morocco, Japan and México. Highly recommended. No, very highly recommended!
  • Yves Dolce

    Gordon is done! "C++/CLI: The Visual C++ Language for .NET" is available.

    • 0 Comments
    I've had the pleasure of reviewing most of the book: if you have any interest in C++/CLI, you'll want to acquire that one !
  • 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...
Page 2 of 9 (223 items) 12345»