Netcon.zip contains ntcon.pas,
a component that creates network 
connections.

Set the ResType top drive or printer.

Set KeepConnectionAtLogon to true if you want the
connection to be re-made at logon in future.  
Generally there isn't much point in this at a
program level.

Put the URL of the resource you want 
to connect to (eg \\andrew\andrew_c) in URL, 
the local name (eg n:) in Local and call
execute.


Call Showlogindialog to run the Windows
dialog (only if restype = drive).


There is a rudimentary error handler.

Use this at your own risk, but please credit in
finished programs.

E-mail me if you use it please, otherwise free.

{The other files demonstrate coded network connections.}