COM interop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Dupont

    #1

    COM interop

    I know it's possible to call COM server in C#.
    but is it possible to create a new COM sever in C# ?

    I mean I want to create a IShellBrowser (well something like that, I just
    dicover it recently) I mean I want to write a shell extension to appear in
    the windows explorer.
    is it possible to do that in C# ?


  • Bob Powell [MVP]

    #2
    Re: COM interop

    Yes it is...

    I'm just preparing an article for Novembers Well Formed on creating shell
    extensions in C# and VB.NET in which I create a thumbnail generator for a
    custom file so that users can browse with "Thumbnails " turned on.

    You need to import or define the interfaces you want to use, implement the
    interfaces and then register the DLL for COM interop.

    This article has some info on other types of shell extension...


    --
    Bob Powell [MVP]
    C#, System.Drawing

    The October edition of Well Formed is now available.
    Find out how to use DirectX in a Windows Forms control


    Answer those GDI+ questions with the GDI+ FAQ


    Read my Blog at http://bobpowelldotnet.blogspot.com

    "Lloyd Dupont" <net.galador@ld > wrote in message
    news:OUEh4FgoDH A.1020@TK2MSFTN GP09.phx.gbl...[color=blue]
    > I know it's possible to call COM server in C#.
    > but is it possible to create a new COM sever in C# ?
    >
    > I mean I want to create a IShellBrowser (well something like that, I just
    > dicover it recently) I mean I want to write a shell extension to appear in
    > the windows explorer.
    > is it possible to do that in C# ?
    >
    >[/color]


    Comment

    • Lloyd Dupont

      #3
      Re: COM interop

      thanks guy !
      that's very helpfull ....

      "Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net > wrote in message
      news:%23AIFJJho DHA.2536@tk2msf tngp13.phx.gbl. ..[color=blue]
      > Yes it is...
      >
      > I'm just preparing an article for Novembers Well Formed on creating shell
      > extensions in C# and VB.NET in which I create a thumbnail generator for a
      > custom file so that users can browse with "Thumbnails " turned on.
      >
      > You need to import or define the interfaces you want to use, implement the
      > interfaces and then register the DLL for COM interop.
      >
      > This article has some info on other types of shell extension...
      > http://www.codeproject.com/csharp/dateparser.asp
      >
      > --
      > Bob Powell [MVP]
      > C#, System.Drawing
      >
      > The October edition of Well Formed is now available.
      > Find out how to use DirectX in a Windows Forms control
      > http://www.bobpowell.net/currentissue.htm
      >
      > Answer those GDI+ questions with the GDI+ FAQ
      > http://www.bobpowell.net/gdiplus_faq.htm
      >
      > Read my Blog at http://bobpowelldotnet.blogspot.com
      >
      > "Lloyd Dupont" <net.galador@ld > wrote in message
      > news:OUEh4FgoDH A.1020@TK2MSFTN GP09.phx.gbl...[color=green]
      > > I know it's possible to call COM server in C#.
      > > but is it possible to create a new COM sever in C# ?
      > >
      > > I mean I want to create a IShellBrowser (well something like that, I[/color][/color]
      just[color=blue][color=green]
      > > dicover it recently) I mean I want to write a shell extension to appear[/color][/color]
      in[color=blue][color=green]
      > > the windows explorer.
      > > is it possible to do that in C# ?
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...