RPAEngine.LoadDLL

The RPAEngine.LoadDLL function loads a DLL to be used by the code being executed

Syntax

RPAEngine.LoadDLL(ByVal strDLLPath As String) As Boolean

Parameters

strDLLPath

[in] The full path to the dll file. Some dlls might not need the full path such as those from System

Return Value

The function returns True if the dll was successfully loaded.

The function returns Falseif the dll could not be loaded.

Example: The code below loads the Windows Forms dll.

RPAEngine.LoadDLL("System.Windows.Forms.dll")