Jump to content

Issue with Images


kalans
 Share

Recommended Posts

Hello, I have an image added to my script and it works fine compiled or not. But when I use it on a different computer, the image does not display. I have the image as below:

FileInstall("C:\Users\User\Desktop\src\normal.bmp", @TempDir & "\normal.bmp", 1)
FileInstall("C:\Users\User\Desktop\src\active.bmp", @TempDir & "\active.bmp", 1)

And it is refrenced below in the code as:

GUICtrlSetImage($varhere, @TempDir& "\normal.bmp")
GUICtrlCreatePic(@TempDir & "\active.bmp", 0, 0, 40, 25)

Images and more code will be provided if requested, thanks!

Link to comment
Share on other sites

Hello, I have an image added to my script and it works fine compiled or not. But when I use it on a different computer, the image does not display. I have the image as below:

FileInstall("C:UsersUserDesktopsrcnormal.bmp", @TempDir & "normal.bmp", 1)
FileInstall("C:UsersUserDesktopsrcactive.bmp", @TempDir & "active.bmp", 1)

And it is refrenced below in the code as:

GUICtrlSetImage($varhere, @TempDir& "normal.bmp")
GUICtrlCreatePic(@TempDir & "active.bmp", 0, 0, 40, 25)

Images and more code will be provided if requested, thanks!

Before you tried it on other computer did you compile the script then past it there.
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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