GetAppDependenciesForLanguage

ACCPAC Common Controls

AccpacSession.GetAppDependenciesForLanguage

Returns a list of dependent classes based on the specified application ID, program name, version, and language code.

Sub GetAppDependenciesForLanguage(
AppID As String,
PgmName As String,
AppVersion As String,
Language As String,
CodebaseType As tagDistFileType,
CLSIDs() As String,
Codebases() As String)

Parameters

AppID

[in] the two-letter application ID

PgmName

[in] the Roto ID of the application

AppVersion

[in] the application version

Language

[in] the 3-letter language code

CodebaseType

[in] the format of the codebases to retrieve

CLSIDs

[out] returns an array of COM class IDs for the dependent classes

Codebases

[out] returns an array of codebases for the dependent classes

Remarks

The format of the returned items in the Codebases array depends on the value of CodebaseType:

  • DF_DYNAMIC - Depends on the client's connection. If the client is remote, the codebases are the URLs to the dependent classes' CAB files. If the client is in-process, the codebases are the local paths (including filenames) to the classes' (OCX, DLL or EXE) files.

  • DF_REMOTE - Codebases are always returned as the URLs to the dependent classes' CAB files.

  • DF_LOCAL - Codebases are always returned as the local paths (including filenames) to the dependent classes' (OCX, DLL or EXE) files.

To get the dependent classes based on the current session's ProgramName and the current user's language, use GetDependencies instead.