I am creating a custom add-in for VS 2010 that manages database
stored
procedures and other sql code. One of the features is going to be the
ability to edit the code files from VS. I am, however, having
difficulty understanding how to open the sql file in the IDE. I see
all the posts about the ItemOperations.OpenFile command which looks
like what I need but, I seem to be missing something in translation.
It looks like I need a DTE2 object but I am not sure how to get that?
I'm sure I am missing something too obvious. I would greatly
appreciate any help that could get me moving forward on this.

Best regards.


rbr

Reply via email to