GetVBScriptMemberListRules

Returns an application’s member lists as an array of bytes in the LST format.

Syntax

<HsvSystemInfo>.GetVBScriptMemberListRules pvarabRules, pbRulesExist

Argument

Description

pvarabRules

Variant array. Returns the contents of the most recently-loaded member lists file. The array is returned as a Byte subtype.

pbRulesExist

Boolean. Returns TRUE if a member lists file has been loaded into the application, FALSE if no member lists file has been loaded.

Example

The following example outputs a member lists file’s contents to a text file. The array of bytes returned by GetVBScriptMemberListRules is then inserted into a file with various Visual Basic methods.

Dim cHsvSystemInfo As HsvSystemInfo
Dim vaRules as Variant, bRulesExist As Boolean
'm_cHsvSession is an HsvSession object reference
Set cHsvSystemInfo = m_cHsvSession.SystemInfo
cHsvSystemInfo.GetVBScriptMemberListRules vaRules, bRulesExist
iFile = FreeFile
Open "C:\Program Files\Acme\appList.lst" For Output As #iFile
Print #iFile, StrConv(CStr(vaRules), 64)
Close #iFile