Visual RPG 9.0 Language Reference  

Database.GetNames Method

GetNames returns an array of strings with all of the names found in the registry.

 variable[] = database.GetNames (publicDBs)

Parameters

publicDBs
Required.  A boolean parameter indicating whether to get Public Databases (*True) or those private to the current user (*False).

Returns

A string array with all of the names found in the registry.

Remarks

This method is Shared, and does not affect the current values of the database object.

Private Database names are stored in the registry at HKEY_CURRENT_USER\Software\ASNA\Acceler8-DB\CurrentVersion\Databases.

Public Database names are stored in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\ASNA\Acceler8-DB\CurrentVersion\Data Sources\*PUBLIC.

Requirements

Namespace: ASNA.VisualRPG.Runtime

Assembly: ASNA Visual RPG Runtime (in ASNA.VisualRPG.Runtime.dll)

Platforms: Windows 2000 Professional SP4, Windows 2000 Server SP4, Windows Server 2003, Windows XP Professional SP2, Windows Vista Business Edition    

See Also

ASNA.VisualRPG.Runtime
Database Class
Database Class Members
Database Class Methods
Database Class Properties
DCLDB