studio itself.That's because an exception is raised . According to the MS documentation
is allowed for public useand found it in the ItemOperations interface
does not return a document, but when a document is opened in the visual studio, it's being addedin the documents collections so all we need is to search it.I've
done so and now my code works :) Update 07 May 2012I've found the quoted code above on two other places.I'm attaching screenshots with the diff but I'm unable to delete the old screenshot.I've also changed that code a bit.