Use icon of dll file in script

Tried these, won't work.

dlg.Control("static3").label = DOpus.LoadImage("C:\\Windows\\System32\\shell32.dll", 20)
dlg.Control("static3").label = DOpus.LoadImage("C:\\Windows\\System32\\shell32.dll,20")
dlg.Control("static3").label = DOpus.LoadImage("%SystemRoot%\\system32\\shell32.dll",20)
dlg.Control("static3").label = DOpus.LoadImage("%SystemRoot%\\system32\\shell32.dll,20")

This will work in the next beta.

3 Likes