Initialize

Provides the HsxClientUI object with access to Financial Management’s client layer.

Caution!

You must call Initialize before calling any of the other HsxClientUI methods, otherwise an error will occur.

Syntax

<HsxClientUI>.Initialize pIUnkHsxClient

Argument

Description

pIUnkHsxClient

HsxClient object (ByVal). An HsxClient object reference.

Example

This example declares and sets HsxClientUI and HsxClient object variables, then calls Initialize. After Initialize is called, you can then use the m_cClientUI object reference to call HsxClientUI methods.

Dim m_cClientUI As HsxClientUI, m_cClient As HsxClient
Set m_cClient = New HsxClient
Set m_cClientUI = New HsxClientUI
m_cClientUI.Initialize m_cClient