Sign in to follow this  
Followers 0
sd333221

Add Files to my exe?

5 posts in this topic

Hi,

I added an Image GUI,

now i have two files:

program.exe
image.jpg

I want the image to go as a resource

with my main program, that i only

have one file and image.jpg is contained

in my program.exe =)

I heard something of "Resource Hacker"

Maybe I can add the Image with this?

greetings

Share this post


Link to post
Share on other sites



did you write the program.exe?

I want the image to go as a resource

with my main program

like how??... explain a little

does the exe have pic files in the program folder?

does the exe place pics in @tempdir when ran

need input ( more info )

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Hi,

I added an Image GUI,

now i have two files:

program.exe
image.jpg

I want the image to go as a resource

with my main program, that i only

have one file and image.jpg is contained

in my program.exe =)

I heard something of "Resource Hacker"

Maybe I can add the Image with this?

greetings

I understand what he means he has made program.exe wich is a GUI program wich uses a image somewhere in the GUI.

But he wants the image contained in the exe file.

Simply use Fileinstall and remove the file after loading it

noone will see it

you could use fileinstall to unpack the image in the windows temp folder so no one will notice it easily

and remove it after its loaded.

And yes you can remove the source image after the gui control has loaded the image it only needs the image when the control is created. Even hiding or disabling won;t reload the image after unhiding it

Share this post


Link to post
Share on other sites

try this!

FileInstall ( "source", "dest" [, flag] )

Share this post


Link to post
Share on other sites

try this!

FileInstall ( "source", "dest" [, flag] )

Like I said;)

Share this post


Link to post
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
Sign in to follow this  
Followers 0