locked
little problem with windows shell context menu: RRS feed

  • Question

  • Hi ,

    Dont know if this is the best place for this type of question

    I know how to make file associations and then add an option to the
    shell context menu if the user clicks that file.


    My application adds an extra option for .cs files. :


    In HKEY_CLASSES_ROOT :
    .cs
       Default=VisualStudio.cs.8.0
    VisualStudio.cs.8.0
       Shell
           Open
           Make Exe
              command : Default: <path>\QuickBuild.exe" "%1" /csBuild



    Now , everything works fine with single files. BUT! i want to be able
    to handle *multiple files*. If the user selects many .cs files the
    option shows up but my app does not! It never even runs! (no , theres
    no bug in there)



    I'm guessing theres a particular way to handle mutilple files. Maybe
    adding a COM handler or something!!? , just dont know what it is. I've
    been searching for quite some time!


    Could someone plz help me out!? =(



    I'm on Windows XP pro , i have to target win98 and later. I'm
    programming in C# 2.0 under .NET 2



    Thanks so much

    Saturday, March 31, 2007 5:27 PM