When you try to delete a VPP asset which is being referenced by a specific page EPiServer warns you beforehand giving you the PageReference(s) of the page which is referencing the specific asset, you could reflect the EPiServer codebase to see how they have achieved this and use it in your implementation we had to do something similar for Pages which are referenced by other other pages and found this forum post useful http://world.episerver.com/modules/forum/pages/thread.aspx?id=13362
I hope this helps
I have a page that has a connection to a vpp file with the property PropertyDocumentUrl. I would like to get this page and its info using the documentname in vpp storage as parameter, url like this http://episite.se/myPage.aspx?doc=mySheet.xls , my argument to myPage.aspx is doc with mySheet.xls as value. I like to get my page using mySheet.xls.
At the moment I use FindPagesWithCriteria to get all pages with this specific property and then I would like to get the page by resolving the Guid for my file, how can this be done?