Validates and loads a member lists file from a client computer. A flag determines whether LoadMemberListRules loads after validation or validates without loading.
LoadMemberListRules returns Booleans that indicate whether validation errors, validation warnings, and validation information were included in the log file.
You must call SetSession before calling LoadMemberListRules. SetSession points to the application for which member lists are being loaded. |
<HsvRulesLoadACV>.LoadMemberListRules bstrClientFilename, bstrLogFilename, vbScanOnly, pvbErrorsWereFound, pvbWarningsWereFound, pvbInfoWasProvided
The following example loads member lists into an application.
Dim cHsvRulesLoadACV As HsvRulesLoadACV, bErr As Boolean Dim bSession As Boolean, bWarn As Boolean, bInfo As Boolean Set cHsvRulesLoadACV = New HsvRulesLoadACV bSession = cHsvRulesLoadACV.SetSession(m_cHsvSession, _ HFM_LANGUAGE_INSTALLED) If bSession = True Then cHsvRulesLoadACV.LoadMemberListRules "c:\Acme\myApp.lst", _ "c:\Acme\myApp.log", False, bErr, bWarn, bInfo End If