Makes a connection to a network resource (remote computer).
Server.AddConnection (RemoteName as String, [UserName as String = Empty string], [Password as String = Empty string])
|RemoteName||String||Remote network name (computer name to connect)|
|UserName||String||yes||Empty string||Specifies a user name to be used in making the connection|
|Password||String||yes||Empty string||Specifies a password to be used in making the network connection|
This method calls WNetAddConnection2 Win32 API function.
Password If Password is NULL (vbNullString), the function uses the current default password associated with the user specified by UserName.
If Password points to an empty string, the function does not use a password.
The UserName parameter is specified when users want to connect to a network resource for which they have been assigned a user name or account other than the default user name or account.
The user-name string represents a security context. It may be specific to a network provider.
Intuitive, easy to use COM interface to windows registry. Set of classes to read/enumerate/modify windows registry keys and values from ASP, VBS and T-SQL.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: email@example.com