|
-
Feb 16th, 2010, 09:06 PM
#1
Thread Starter
New Member
Application that creates exe file with its own instructions?
Hey guys,
I am new here as you can see this is my first post. I am sort of experienced in vb6, but I ran into a problem just today.
I just saw an application that does the following: You choose a file (.exe, .pdf, .mp3, .avi, whatever) and the program creates an exe file out of the chosen file.
What is the exe file? It acts as the original file (if it is a video, it plays as a video like the original does), but it opens internet explorer on the back ("hidden") with a pre-chosen website url.
How can I do that?
You may think "why would you want to create that if that is already done?" Well I want to learn to do that.
I mean... How can I make an application that creates an exe file like that?
-
Feb 16th, 2010, 10:20 PM
#2
Thread Starter
New Member
Re: Application that creates exe file with its own instructions?
Video I made as example...
http://screenr.com/Drx
Download link: http://viralfilebrander.com/ViralNew.zip
Its free use -> Registration Code : 6510192487
What I'd change... Instead of the website opening in that crappy looking web browser window, I'd do it with Internet explorer or some other popular web browser instead.
-
Feb 17th, 2010, 01:55 PM
#3
Thread Starter
New Member
Re: Application that creates exe file with its own instructions?
-
Feb 17th, 2010, 07:10 PM
#4
Re: Application that creates exe file with its own instructions?
Well I haven't downloaded or played with it. I can think of 1 easy way it could be done.
Two apps.
1. Simply create an application that will be able to read the end of its exe. At the end is a link to the file to be displayed/opened or possibly the entire file simply appended onto the exe. When the app is double clicked/opened up, it knows what to do with the stuff appended to the end of it. You can search for self-modifying executables on this site and elsewhere for examples.
2. Your "branding" app has in its resource file the app in #1 above. When you click a file to brand, you basically copy the app in #1 out of your resource file and append the target file to the end of it.
That's about all I can give you. This isn't my cup of tea and honestly not that interested.
As for building an actual exe on the fly, forget about it unless you create and deploy your own compiler.
-
Feb 17th, 2010, 07:19 PM
#5
Re: Application that creates exe file with its own instructions?
 Originally Posted by frankietp
Anyone?
Please don't bump your threads.
-
Feb 18th, 2010, 01:47 AM
#6
Thread Starter
New Member
Re: Application that creates exe file with its own instructions?
Thanks for your reply!
Well so far this is what I got... I have a main application "brander" in which I choose the file I want to brand, I also choose the filename of the result exe file from the branding process.
Then... I brand the file. I brand the file with another exe file that I call "extracter.exe". The result exe file from that branding process includes the extracter exe and an appended chosen file.
When I click that exe file (branded), it extracts the appended file and it is given the original file's extension. That means if I branded a .jpg file, that is the extension it gives to the extracted file.
Basically what I have is a tedious file copier. Of course that is not what I want.
Do you know how I can make the extracter to open the appended file instead of extracting it?
The result exe file from the branding process has the chosen file all appended to its data so all I would need is how to open it, without extracting it.
Any clue on how to do this?
 Originally Posted by LaVolpe
Well I haven't downloaded or played with it. I can think of 1 easy way it could be done.
Two apps.
1. Simply create an application that will be able to read the end of its exe. At the end is a link to the file to be displayed/opened or possibly the entire file simply appended onto the exe. When the app is double clicked/opened up, it knows what to do with the stuff appended to the end of it. You can search for self-modifying executables on this site and elsewhere for examples.
2. Your "branding" app has in its resource file the app in #1 above. When you click a file to brand, you basically copy the app in #1 out of your resource file and append the target file to the end of it.
That's about all I can give you. This isn't my cup of tea and honestly not that interested.
As for building an actual exe on the fly, forget about it unless you create and deploy your own compiler.
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
|