colafrysen Posted August 6, 2008 Share Posted August 6, 2008 I've made a simple program which includes a logotype on top, this logo is visable on my computer but not on other computer which I send the program to. The code I use is this: GUICtrlCreatePic("C:\Logotype.BMP",0,0,400,100)oÝ÷ ØÚ0#§¶Øb²)ëhmè§r[yا¶¢jbçjºDJ®¢×âè·ö÷®'¶¬zØb±«¢+Ø¥¹±Õ±ÐíèÀäÈí1½½ÑåÁ¹ 5@Ðì(¥¹±ÕÅÕ½ÐíèÀäÈí1½½ÑåÁ¹ 5@ÅÕ½Ðì But it seems the brogram breaks up the image into text and tries to execute it which gives this wierd result: C:\Logotype.BMP (1) : ==> Missing separator character after keyword.: BMöÔ BM^ ERROR Am I to use another command to include the image or do I use #include the wrong way? And if I am suposed to #include it, what will the path be to the image? [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size] Link to comment Share on other sites More sharing options...
ResNullius Posted August 6, 2008 Share Posted August 6, 2008 (edited) I've made a simple program which includes a logotype on top, this logo is visable on my computer but not on other computer which I send the program to. The code I use is this: GUICtrlCreatePic("C:\Logotype.BMP",0,0,400,100) But it seems the brogram breaks up the image into text and tries to execute it which gives this wierd result: C:\Logotype.BMP (1) : ==> Missing separator character after keyword.: BMöÔ BM^ ERROR Am I to use another command to include the image or do I use #include the wrong way? And if I am suposed to #include it, what will the path be to the image?Check out FileInstall() function Edited August 6, 2008 by ResNullius Link to comment Share on other sites More sharing options...
colafrysen Posted August 6, 2008 Author Share Posted August 6, 2008 Check out FileInstall() functionthis does not solve by problem as I need the image to be embeded in the ".exe". cuz i want an standalone ".exe" [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size] Link to comment Share on other sites More sharing options...
ResNullius Posted August 6, 2008 Share Posted August 6, 2008 this does not solve by problem as I need the image to be embeded in the ".exe". cuz i want an standalone ".exe"FileInstall will create a standalone exe, it just has to extract to a folder on the destination machine, like the TEMP dir.If you want a program that won't have to write the files out to a user's drive, then check out Zedna's Resources UDF athttp://www.autoitscript.com/forum/index.ph...st&p=386541 Link to comment Share on other sites More sharing options...
colafrysen Posted August 6, 2008 Author Share Posted August 6, 2008 FileInstall will create a standalone exe, it just has to extract to a folder on the destination machine, like the TEMP dir.If you want a program that won't have to write the files out to a user's drive, then check out Zedna's Resources UDF athttp://www.autoitscript.com/forum/index.ph...st&p=386541Thanks for your help! it's appreciated! [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size] Link to comment Share on other sites More sharing options...
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