Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. integration with VS.NET 2003

integration with VS.NET 2003

Scheduled Pinned Locked Moved C#
csharpvisual-studiotutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aryadip
    wrote on last edited by
    #1

    hi everyone, I've written a small application for my company and now would like it to integrate with VS.NET 2003. In the integration part, what I specifically want is to have a menu item placed in the context menu of solution explorer such that whenever the user right clicks on any .cs or .vb file, "Open with myApp" comes as a menu item in the context menu. Can anyone guide me with this? How should I go about doing this? I have seen many applications doing the same, that means this is possible. Some code snippet will be highly appreciated. thanks in advance... Cheers !! and have a Funky day !!

    H 1 Reply Last reply
    0
    • A Aryadip

      hi everyone, I've written a small application for my company and now would like it to integrate with VS.NET 2003. In the integration part, what I specifically want is to have a menu item placed in the context menu of solution explorer such that whenever the user right clicks on any .cs or .vb file, "Open with myApp" comes as a menu item in the context menu. Can anyone guide me with this? How should I go about doing this? I have seen many applications doing the same, that means this is possible. Some code snippet will be highly appreciated. thanks in advance... Cheers !! and have a Funky day !!

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      While this won't solve your immediate problem, it's important to understand the design-time features of the .NET Framework. Read Enhancing Design-Time Support[^] in the .NET Framework SDK for more details. Much of what you see in VS.NET when designing with forms and controls is actually provided by classes in the BCL. For integration like you want, see the Visual Studio Extensibility Center[^]. Also see the Automation and Extensibility Reference[^] in MSDN Librayr, which documents the DTE (Design-Time Environment) object model and gives C# and VB.NET (as well as C++, of course) examples. Whatever you read for VB (as in VB6), the same is pretty much true since the EnvDTE assembly is an interop assembly created from the typelib that automation clients like VB6 use to automate and object library. Specifically, you'll want to take a look at the VSProjectItem Object[^]. If you look in VS.NET's New Project dialog, you'll also see a couple of extensibility projects that serve as a good start. There may even be a few articles here on Code Project is you search for them. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog] This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups