Important alert: (current site time 7/16/2013 1:12:37 AM EDT)
 

winzip icon

[ Exe Compiler ]

Email
Submitted on: 10/25/2002 7:52:42 AM
By: Anoop Sankar  
Level: Intermediate
User Rating: By 39 Users
Compatibility: VB 5.0, VB 6.0
Views: 62188
(About the author)
 
     This code demonstrates how to compile exe files using vb code, like the winzip self extractor.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

10/25/2002 8:10:55 AMover

great code, i posted a similar one just a few days ago ...
i like the propertybag feature, this makes it a lot easier.
(If this comment was disrespectful, please report it.)

 
10/25/2002 9:25:01 AM

Well...nice!

Its not a real compiler...but its quite cool! :)

More stuff like that!

Cya
(If this comment was disrespectful, please report it.)

 
10/25/2002 10:55:45 AMcoder86

I was looking for something like that for a long time!!! Thanks!!
(If this comment was disrespectful, please report it.)

 
10/25/2002 12:52:10 PMunderground technologies

very nice code!!!
(If this comment was disrespectful, please report it.)

 
10/26/2002 3:04:23 PMSehab

its a nice code but maybe you could make something that you can compile your projects that would be great
(If this comment was disrespectful, please report it.)

 
11/5/2002 12:35:21 AMTony G

Nice code.
I am trying to use propbag in a for loop. Because I don't know how many items a user is going to put into a listbox. So I try to do this,

For i = 0 to List1.Listcount -1
PropBag.WriteProperty "Command" & (i), List1.List(i)
Next i

It doesn't seem to work. I think its the way I suggest it "Command" & (i),

Any ideas how I could get this working.

Thank Tony I give you five votes.
(If this comment was disrespectful, please report it.)

 
11/7/2002 8:25:24 PMAnoop Sankar

haven't tried this yet..
but this might work..

cmd$ = "Command" & i
PropBag.WriteProperty cmd$, List1.List(i)

and thanks guys for the votes and the comments.
(If this comment was disrespectful, please report it.)

 
11/10/2002 11:01:19 AM

HI guys i am not able to open the Zip file is it corrupt or something ??
(If this comment was disrespectful, please report it.)

 
11/13/2002 8:24:35 PMAlex Wied (PcExpert)

GREAT CODE! Love it. 5 globes. But do you encrypt the password? How do you work with the prop bags? Seems hard for an 11 year old!
(If this comment was disrespectful, please report it.)

 
11/15/2002 7:51:35 PMAnoop Sankar

try downloading again, my friend.

The password is not encrypted. It is just added as a demo. Well, the code is commented as well as I can. Try going through it again.
(If this comment was disrespectful, please report it.)

 
11/20/2002 4:55:12 PMDanny J.

Hey, this is prefect, but I was looking at one other comment and would it be ok if I used your compiler to compile other people's programs. Because you know, some versions of VB can't compile... So please send me feedback,

Danny J.
(If this comment was disrespectful, please report it.)

 
12/16/2002 10:47:16 PMJason Tepoorten

Hi.

I am looking for a ZIPPING tool (with source code) that creates ZIP files. Does this code create ZIP files that can be opened by any ZIP reader (like WINZIP)?

Thanks,

Jason
(If this comment was disrespectful, please report it.)

 
12/28/2002 1:04:25 PM

sdf
(If this comment was disrespectful, please report it.)

 
12/31/2002 9:13:40 AMxiakunpeng

Very Cool
(If this comment was disrespectful, please report it.)

 
1/20/2003 9:47:57 PMMatt Kramer

hey man, very nice code, its really cool. for your link you can put in
shell ("explorer http://smilehouse.cjb.net"),vbnormalnofocuse
but as far as I'm concerned...5 Globes!
(If this comment was disrespectful, please report it.)

 
2/9/2003 10:28:32 PMRicky Casavecchia

this is a cool program but pointless
(If this comment was disrespectful, please report it.)

 
2/22/2003 10:40:38 AM*JJ*

This is amazing work. What more can I say? This is just what I needed. I didn't realize it was so easy. Thanks a lot guy.
(If this comment was disrespectful, please report it.)

 
3/18/2003 1:00:03 PM

Hey! I'm working on my own compiler when i was worried that it can't make .EXE's. But thanks to this code... it's a thing of the past! Thanks, man!
(If this comment was disrespectful, please report it.)

 
5/29/2003 2:49:40 PMRuturaj

Actually I'm looking for a code which will guide me how to compile HTML pages and make a eBook.

I've not yet seen your code , but if you have any information on where can I get some guide lines then please contact me on :

mailme_friends@yahoo.com

Thanks & Regards.

Ruturaj.
(If this comment was disrespectful, please report it.)

 
6/5/2003 7:19:32 AMSahir

nice concept ..
5 globes from me..
i just want to know that how it can be used with othe control like ShockWaveFlash.ocx I tried but it compliles only picture and text control
if you have any idea how it can be done pls mail me --> sksahir@yahoo.com
(If this comment was disrespectful, please report it.)

 
6/5/2003 5:04:12 PM

I am a Brazilian girl that is beginning to program in VB since Jan/2003.
I liked a lot your "EXE Compiler" in PSC, but I need to know how I do so that the compiled program (original) it usually works after being called by EXE.

Explaining: I want to use the resources of Bag, to protect any EXE with a password. How do I make that?

I thank your attention.

very nice code!!!
(If this comment was disrespectful, please report it.)

 
6/26/2003 4:52:38 PMTaufiq A Rahman

i was also look for a code lick this for a very time thanks a lot.Great idia
(If this comment was disrespectful, please report it.)

 
9/8/2003 5:31:01 PM

this is a good way of working, but there is a way of ccompiling from actual vb code with a vb program. i have used it with a few of my projects. its a good way of saving space. if you have the code that generates the exe instead of the exe it's self then you save a lot of space. also with the help of upx compression you save even more.
(If this comment was disrespectful, please report it.)

 
11/12/2003 5:16:44 PM

Unbelievable. Easy to understand.
(If this comment was disrespectful, please report it.)

 
7/5/2004 10:48:12 PM

really cool! great-compiler()
(If this comment was disrespectful, please report it.)

 
10/5/2004 2:26:53 AM

Dear Sankar,

It is great.... But I can't find the rdfce.ext source code. Is it possiable the run the code without rdfce.ext file. You say the code of rdfce.ext are inclued in your project. But Is it true that u hide the rdfce.ext code and submit ur code with the file or may have u submit with compile extention.
If not please send to me the code

Regds,
hmrahman
(If this comment was disrespectful, please report it.)

 
11/19/2004 7:24:55 PMAnoop Sankar

The entire code is in there.. please look through the folders, its kept as a different project.
(If this comment was disrespectful, please report it.)

 
2/21/2005 1:41:58 AMSPY-3

Great code i was able to edit it enough that i can make it work with my setup program for an uninstall and for some of my other programs great code 5 globes!!!!!
(If this comment was disrespectful, please report it.)

 
9/23/2005 12:54:14 PMPower Of Anubis

This is a great code, Congratulations.
That's exactly what I was looking for, 5/5 !
(If this comment was disrespectful, please report it.)

 
6/30/2006 10:31:14 AMKeXx

Nice for my trojan ! ^^
(If this comment was disrespectful, please report it.)

 
9/2/2006 7:58:16 AMMarty

How do you remove the extra info from the exe-file after it has been written?
(If this comment was disrespectful, please report it.)

 
11/16/2006 8:07:51 PMluungoc2005

I'm trying hard to make a decompiler of vb or C++ code
(If this comment was disrespectful, please report it.)

 
11/27/2006 9:16:06 AMAlex P Keaton

Did you know that if you make a password protected exe and then edit it with a hex editor and change offset 4208 from 84 (JE) to 85 (JNE) then all passwords are accepted except for the real one :P That is really really secure folks! ^^
(If this comment was disrespectful, please report it.)

 
11/27/2006 9:38:14 AMAlex P Keaton

I was just beeing sarcastic by the way.. good work on the prog though.. I would vote if I just could see the picture with the numbers but of some reason I can't :o/
(If this comment was disrespectful, please report it.)

 
12/19/2006 3:53:56 AMAnoop Sankar

I think I had very specifically mentioned that the password protection was just a demo and was very weak :)
Anyway good that this project is still being discussed 5 years after I uploaded it!.
(If this comment was disrespectful, please report it.)

 
11/8/2008 5:52:08 AMelvin G. Nodalo

it generate virus "TR/dropper.gen" when there is no value on the field.........

(If this comment was disrespectful, please report it.)

 
11/8/2008 6:04:27 AMelvin G. Nodalo

I search about the Virus description it goes found like this....

TR/Dropper.Gen

Description:
A generic detection routine designed to detect common family characteristics shared in several variants.

This special detection routine was developed in order to detect unknown variants and will be enhanced continuously.

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.