I'm using PB2019, buld 2082 and having issues with ApplyTheme not applying the theme is certain environments.
Made a simple test.
1) copied the themes to C:\TEMP\themes and into that, the four theme folders provided by Appeon, e.g Flat Design Blue
2) Made a button that call the ApplyTime function as follows
rc = ApplyTheme("C:\temp\themes\Flat Design Blue")
s = GetTheme()
messagebox("Theme is", s)
Under Win10 Pro it works ok, return value is 1 and theme name is Flat Design Blue
Under Win 10 Ent and Windosw 2012R2 (which acts as a Terminal Server)the same code returns -1 and no template name.
I did read that the older Windows Servers dont support themes, but what about Win 10 Entprise and Windosw 2012R2 ?