Jump to content

GUICtrlCreatePic: Graphic must be on User Machine?


Recommended Posts

Running a compiled script on an end user machine, I did not see the nifty company logo on my AutoIt form.

Must graphic file be distributed with exe? Or did I miss something?

$FSVLogo = GUICtrlCreatePic("LOGO FSV CC small3.JPG", 270, 10, 70, 40)


If I am too verbose, just say so. You don't need to run on and on.

Link to comment
Share on other sites

to make sure you have an un used name in the temp dir you can use FileInstall("file.bmp",_TempFile())

EDIT: it would be better to do it like this

$TempImage = _TempFile()

FileInstall ( "file.bmp", $TempImage )

Edited by Xenogis

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

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

  • Recently Browsing   0 members

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