magilvia
April 11th, 2005, 07:55 AM
I'm trying to use OpenFile with the resource file [project].rc with
DTE.ItemOperations.OpenFile("[project].rc", vsViewKindTextView)
The problem is that the file is always opened in resource explorer like vsViewKindTextView is ignored and I can't use the selection object to edit the file within the macro.
In VS6 I was using documents.open but It doesn't work no more.
Any suggestion?
Thanks.
DTE.ItemOperations.OpenFile("[project].rc", vsViewKindTextView)
The problem is that the file is always opened in resource explorer like vsViewKindTextView is ignored and I can't use the selection object to edit the file within the macro.
In VS6 I was using documents.open but It doesn't work no more.
Any suggestion?
Thanks.