I'm looking for a static code analysis tool that will determine if I have orphaned functions in my VB6 code. The problem I'm running into is we make calls to the VB6 code from classic asp. Is there a tool that will look at both the classic asp and VB6 and determine if there are any orphaned functions?
Great Migrations offers a VB6/COM/ASP processor that can produce precisely what you are asking for. These detailed "reference reports" are a side benefit of the primary purpose of the product which is to help developers perform a custom, tool-assisted rewrite of large VB6/ASP/COM systems to the C#/ASPX/.NET platform.
It takes a little work to configure gmStudio to process an ASP site (i.e. you have to tell it which COM libraries to reference and which site files to load) but once given that information it can tell you exactly which members of COM libraries are actually referenced (and where, and how) a second report can tell you which members are not referenced (what you call "orphaned functions").
Visit the Great Migrations site for details.