.exe keeps getting bigger after each compile

Posted on 2014-12-16
Last Modified: 2014-12-16
In my project, every time I make a very small adjustment the resulting .exe file gets larger.  For example, my last executable was 24.6 MB   Now the new one is over 25MB after hardly any changed to the code.

What exactly causes this?
Question by:al4629740
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 47

Expert Comment

by:Martin Liss
ID: 40503492
If you recompile without any changes does the size change?
LVL 47

Expert Comment

by:Martin Liss
ID: 40503505
BTW when I compile the project that I used for the last question of yours that I worked on it's only 64KB.

Author Comment

ID: 40503554
I just tested it out and the size stays the same.   Maybe it is naturally getting bigger and its just surprising me...
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 47

Expert Comment

by:Martin Liss
ID: 40503585
25MB surprises me. Have you added other things besides the blocked sites list and the allowed maintenance?

Author Comment

ID: 40503606
Oh no.  This is a different project I'm talking about.
LVL 47

Accepted Solution

Martin Liss earned 500 total points
ID: 40503622
That explains the size difference and so I assume the increase you are seeing is normal. Make sure you don't have any unused controls in Project|Components because while that won'y make the project grow, it will make it bigger than needed. If you want to upload your project I'll take a look at it.

Author Closing Comment

ID: 40503651
Thank you

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question