Use this function to start the dialog.
function Execute: Boolean; override; overload;
Boolean: The function returns true, when the user successfully connects a net drive. If the net drive couldn't be connected or the user cancels the connection, the function returns false.
ConnectedDriveLetter
JAMDialogs.TJamNetConnectionDialog