|
-
Mar 1st, 2007, 08:36 AM
#1
Thread Starter
Hyperactive Member
[2.0] Extracting a picture from a executable file
This question popped into my mind when i was coming to work this morning and couldn't figure it out.
Lets say a simple form with a picture box displaying a picture. Now you could take this executable file and carry it anywhere with the framework and run it and it will show the picture which means that the picture is compiled in the executable right? Is there any way to work backwards from the .exe and get the picture? I know it sounds wierd but let's say there was a button on the form which when pressed would write the picture in the C drive. But i'm not copying the original picture, I'm getting that picture from the executable file.
Is this possible or just another stupid question?
Jennifer
-
Mar 1st, 2007, 08:43 AM
#2
Re: [2.0] Extracting a picture from a executable file
If they're stored as embedded resources, yes.
-
Mar 2nd, 2007, 09:52 AM
#3
Thread Starter
Hyperactive Member
Re: [2.0] Extracting a picture from a executable file
Never heard about embedded resources before. Could you post some links? I tried google didnt get too much.
Jennifer.
-
Mar 2nd, 2007, 10:02 AM
#4
Re: [2.0] Extracting a picture from a executable file
Hang on, I'm slightly confused now.
Do you want to save images that are embedded in YOUR executable, or in another (compiled) one?
-
Mar 4th, 2007, 09:52 AM
#5
Thread Starter
Hyperactive Member
Re: [2.0] Extracting a picture from a executable file
I'm thinking of saving an image from executable. So its one executable running and i want to save a picture from that same executable to some directory. So its like the image is saved in the executable and could be extracted from the same executable.
Jennifer
Last edited by drattansingh; Mar 4th, 2007 at 08:14 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|