Jump to content

Recommended Posts

Posted

the location of the pic is like this

"C:\data\images\scan.jpg"

thus

$scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON)

GUICtrlSetImage (-1,"C:\data\images\scan.jpg")

(not sure of your actual location)

8)

NEWHeader1.png

Posted

$scanbutton = GUICtrlCreateButton ("Start Scan", 0, 0, 40,40,$BS_ICON)

GUICtrlSetImage (-1, @SCRIPTDIR & "/data/images/scan.jpg")

Didn't work, ill try what qafrost said.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...