Jump to content

Image not included


Recommended Posts

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

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 by ResNullius
Link to comment
Share on other sites

Check out FileInstall() function

this 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

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 at

http://www.autoitscript.com/forum/index.ph...st&p=386541

Link to comment
Share on other sites

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 at

http://www.autoitscript.com/forum/index.ph...st&p=386541

Thanks 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

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...