Can you programmatically get at the structure of your program? Ie: can you
query your project for the function-call tree? That would be the first step.
Once you have that data, you could either draw by hand in Visio or write
automation code (VB, VBA, C#, VB.NET, etc) to draw the tree automatically.
There's nothing built in to Visio that does this automatically, unless Visio
for Enterprise Architects can do this, which I am not sure about. This
product has forward and reverse engineering of software projects, but I'm
not sure about the limitations, or if it can do the call-tree you're looking
for.
You might want to poke around in the Visual Studio Team System Developer
site to see what's possible:
http://msdn.microsoft.com/vstudio/teamsystem/default.aspx
or
http://msdn.microsoft.com/vstudio/teamsystem/products/arch/default.aspx
--
Hope this helps,
Chris Roth
Visio MVP
http://www.wanderkind.com/visio
Go Team USA!
http://www.wanderkind.com/usa