Scalabium Software

SMReport Autogenerated
Knowledge for your independence'.
Home Delphi and C++Builder tips


#41: PC is connected to a network or not

If you want to know if the PC is connected to a network under MS Windows then you can call a GetSystemMetrics() function (Windows API) with SM_NETWORK parameter:

if (GetSystemMetrics(SM_NETWORK) AND $01 = $01) then
    <PC is attached to network>
else
    <PC is not attached to network>


Published: November 15, 1999

See also
 
ABA Document Convert
Word Web-stream
ABA Spreadsheet Convert
Viewer for MS Outlook Messages
ExcelFile Viewer
Paradox Viewer
MAPIMail
Metafile Convert
Excel Reader (dll)
Paradox Password Recovery
 
 


Contact to webmaster

 

Borland Software Code Gear Scalabium Delphi tips

Copyright© 1998-2017, Scalabium Software. All rights reserved.
webmaster@scalabium.com

SMExport/SMImport suites