BlazerV60 Posted November 30, 2009 Posted November 30, 2009 #include <File.au3> Dim $theme _FileReadToArray("C:\TestPicture.bmp", $theme) GuiCtrlCreatePic($theme, 200, 200, 50, 10) GuiCtrlSetState( -1, $GUI_DISABLE) I put that in my GUI but my TestPicture.bmp won't show up on it, and yes the TestPicture.bmp is inside the C drive.
furrycow Posted November 30, 2009 Posted November 30, 2009 (edited) Havent tried it out at all, but if youre putting it into an array, then surely... GuiCtrlCreatePic($theme, 200, 200, 50, 10) ;should be GuiCtrlCreatePic($theme[1], 200, 200, 50, 10) Or whatever place it is in the array? If not, ill actually wack it in Scite, and give it a gander! Cheers Edited November 30, 2009 by furrycow Instant Lockerz Invite - www.instantlockerzinvite.co.uk
trancexx Posted November 30, 2009 Posted November 30, 2009 Just do: GuiCtrlCreatePic("C:\TestPicture.bmp", 200, 200, 50, 10) ♡♡♡ . eMyvnE
BlazerV60 Posted November 30, 2009 Author Posted November 30, 2009 Just do: GuiCtrlCreatePic("C:\TestPicture.bmp", 200, 200, 50, 10) Yay it works thanks! Hey If I send it to someone, then how can they see the picture because they don't have TestPicture.bmp in their C drive D=
Zedna Posted November 30, 2009 Posted November 30, 2009 Or you can use my Resource UDF http://www.autoitscript.com/forum/index.php?showtopic=51103 Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now