| View previous topic :: View next topic |
| Author |
Message |
randallf
Joined: 06 Jul 2009 Posts: 678
|
Posted: Wed Sep 16, 2009 5:49 pm Post subject: How to embed a logo? |
|
|
Hello all,
I want to embed a small logo file into my compiled exe. As I don't want random BMP files hanging around (they may launch this from anywhere) I don't want it unpacking the logo file when the exe is run (fileinstall), I'd just like to embed the file into the executable itself.
Is there any way to do this? Thank you! |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Sep 16, 2009 5:50 pm Post subject: |
|
|
| you mean the icon??? |
|
| Back to top |
|
 |
randallf
Joined: 06 Jul 2009 Posts: 678
|
|
| Back to top |
|
 |
Guest
|
Posted: Wed Sep 16, 2009 5:53 pm Post subject: |
|
|
| wow, i dodnt know that could be done..maybe ill use that ^^ |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 5336 Location: San Diego, California
|
Posted: Wed Sep 16, 2009 7:50 pm Post subject: |
|
|
@randallf
Have you seen the command FileInstall ?
-- Includes the specified file inside the compiled version of the script. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Sep 16, 2009 7:51 pm Post subject: |
|
|
| lol, he doesnt want that, nothing for creating a file, just using data to create a bitmap |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 5336 Location: San Diego, California
|
Posted: Wed Sep 16, 2009 8:50 pm Post subject: |
|
|
Guess I need new glasses. Thanks for the heads-up Guest. |
|
| Back to top |
|
 |
AnttiV
Joined: 14 Aug 2009 Posts: 237 Location: Finland
|
Posted: Sat Sep 19, 2009 8:31 am Post subject: |
|
|
I'd have offered the same advice as Leef_me. Correct me if I'm wrong but isn't FileInstall exactly what the OP asked?
| OP wrote: | | I want to embed a small logo file into my compiled exe... |
|
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
|
| Back to top |
|
 |
ruespe
Joined: 17 Jun 2008 Posts: 243
|
Posted: Sun Sep 20, 2009 11:36 am Post subject: Re: How to embed a logo? |
|
|
Or you can use Compile_AHK II and insert your logo as icon or as resource into your compiled script. _________________ Greetings
Rog |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 5336 Location: San Diego, California
|
Posted: Mon Sep 21, 2009 4:58 am Post subject: |
|
|
| AnttiV wrote: | I'd have offered the same advice as Leef_me. Correct me if I'm wrong but isn't FileInstall exactly what the OP asked?
| OP wrote: | | I want to embed a small logo file into my compiled exe... |
|
You & me, is wrong.
| Randallf wrote: | | I don't want it unpacking the logo file when the exe is run (fileinstall), |
|
|
| Back to top |
|
 |
AnttiV
Joined: 14 Aug 2009 Posts: 237 Location: Finland
|
Posted: Mon Sep 21, 2009 11:04 am Post subject: |
|
|
Oh, then I was right, but wrong about FileInstall
Anyways, the Compile_AHK advice is probably the best. |
|
| Back to top |
|
 |
|