ExcludeModule Method
Description
Removes a module/dll from getting "hooked" by the SkinFramework. This will cause objects from this module not to be skinned.
Syntax
Public Sub ExcludeModule( _
ByVal [ModuleName] As String _
)
Parameters
- ModuleName: Name of the module/dll to remove from hooking.
Remarks
There are some modules/dlls that do not like to be hooked by the SkinFramework and will crash the application. If you find that a certain module keeps crashing your application, you can exclude it. This needs to be done before a skin is loaded.
For example, if .NET is not installed on the client machine and the Crystal Reports "CRDB_ADOPLUS.DLL" module is loaded, the application will crash when the skin loads. As a solution, you can exclude this module before the skin is loaded:
SkinFramework1.ExcludeModule("CRDB_ADOPLUS.DLL")
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.