Returns specified key from remote computer.
Set vGetKey = Server.GetKey (Path as String, [MachineName as String = (local)], [UserName as String = Empty string], [Password as String = Empty string])
Where | Type | Optional | Default | Description |
---|---|---|---|---|
Path | String | Key's path | ||
MachineName | String | yes | (local) | Remote computer for the key. |
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 |
Key - One registry key.
GetKey uses AddConnection method if UserName/Password is defined.
Set content type of extension |
Set S = CreateObject("RegEdit.Server") S.GetKey("HKCR\.asa").Values("Content Type")="text/asp" |
AddConnection, Close, Connect, ExpandEnvironmentStrings, GetKey, LogonUser, RevertToSelf
Server/computer for the ActiveX regedit.
You can use GetKey method to get a specified key from the server.
Keys property returns a collection containing subkeys of a connected key (See Connect method).
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: info@pstruh.cz