I follow the tutorial from Chapter 9 Macros. What im trying to do is to make button function to execute the printing reports.
oDocument = StarDesktop.loadComponentFromURL(sURL, "_blank", 0, Arg() )
And I got this error
Type: com.sun.star.lang.IllegalArgumentException
Message: Unsupported URL <>: “from LoadEnv::startLoading”