Code: Select all
Error 1: An exception occurred
Type: com.sun.star.lang.WrappedTargetException
Message:
TargetException:
Type: com.sun.star.script.LibraryNotLoadedException
Message: .
At line : 33
02/08/2017 12:40:54
Here is my library code:
Code: Select all
ShowListPrinters
...
dlgThis = CreateUnoDialog(DialogLibraries.basPrinting.dlgListPrinters)
...
Code: Select all
if Not Globalscope.BasicLibraries.isLibraryLoaded("basPrinting") Then
Globalscope.BasicLibraries.loadLibrary("basPrinting")
End If
Dim strPrinter As String
Dim boolGoodPrinter As Boolean
boolGoodPrinter = False
While boolGoodPrinter = False
strPrinter = ShowListPrinters
...
Any ideas would be very welcome.
Kind regards,
Doug