The NETADDR sample is a utility that can enumerate shared resources for a give address. It demonstrates use of Vista "Net Address Verifier" control.
| Security Note |
|---|
|
This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices. |
Building and Running the Sample
To build and run the NETADDR sample
-
Open the solution Localize.sln.
-
On the Build menu, click Build.
-
On the Debug menu, click Start Debugging or Start Without Debugging.
Keywords
The NETADDR sample demonstrates the following keywords:
CNetAddressCtrl; CNetAddressCtrl::SetCueBanner; CNetAddressCtrl::DisplayErrorTip; CNetAddressCtrl::SetAllowType; CNetAddressCtrl::GetAddress
| Note |
|---|
|
Some samples, such as this one, have not been modified to reflect the changes in the Visual C++ wizards, libraries, and compiler, but still demonstrate how to complete your desired task. |