How to call File/Open/Project using c# programing language to open Existing project/Solution dialog box

Apr 27, 2007 at 1:14 PM
Hi,

I added a new main menu item to visual studio 2005 IDE file menu bar and would like to know if i can simulate call for File/Open/Project programatically from my own menu item.

I have tried to use DTE.ExecuteCommand("File.OpenProject"), but unable to create a object of type DTE. i was not able to get the current context of Visual studion IDE.

Thank you in advance

Ved

Apr 27, 2007 at 3:26 PM
This forum is for discussions on the CodePlex web site itself. Please re-post your question in the appropriate project forum.

Thanks...