How to open file programmatically using EnvDTE in C#.
Assuming you have a hook to the correct DTE instance...
DTE.ExecuteCommand("File.OpenFile", "c:\derp.txt");
1.4m articles
1.4m replys
5 comments
57.0k users