Visualizing Network Resources Using Visio
By Chris Trueman, February 01, 2000
Visio is a generic diagram construction tool that just happens to include a powerful visualization engine. Chris uses that engine to write a C++ tool that generates diagrams to represent all the available resources on a Windows network.
Feb00: Programmer's Toolchest
VAORC VNetInfo::Run(LPVAOV2LSTRUCT pV2L)
{
CNetworkResourceCollector nrCollector(this);
BOOL rc = FALSE;
rc = nrCollector.Run();
ASSERT(rc);
if(!(rc))
{
AfxMessageBox(IDE_GENERAL_RESOURCE_COLLECTION, MB_OK | MB_ICONSTOP);
}
return(VAORC_SUCCESS);
}
Example 1: Run method example.