Hi Nabeel,
I don't recommend using that Open method. The documentation indicates it's
for MS internal use only. It would probably be better for you to use the
DTE.ItemOperations.OpenFile method.
Sincerely,
Ed Dore [MSFT]
This post is 'AS IS' with no warranties, and confers no rights.
Nabeel Moeen - 22 Dec 2005 13:37 GMT
> Hi Nabeel,
>
[quoted text clipped - 6 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.
Nabeel Moeen - 22 Dec 2005 13:39 GMT
Calling the following code throws a "parameter is incorrect" exception
applicationObject.ItemOperations.OpenFile(fileName,
Constants.vsViewKindTextView);
> Hi Nabeel,
>
[quoted text clipped - 6 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.
Nabeel Moeen - 23 Dec 2005 13:18 GMT
sorry...there was a problem with the FileName parameter.
> Calling the following code throws a "parameter is incorrect" exception
>
[quoted text clipped - 11 lines]
> >
> > This post is 'AS IS' with no warranties, and confers no rights.