Solved

.exe keeps getting bigger after each compile

Posted on 2014-12-16
7
80 Views
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?
0
Comment
Question by:al4629740
  • 4
  • 3
7 Comments
 
LVL 46

Expert Comment

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

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.
0
 

Author Comment

by:al4629740
ID: 40503554
I just tested it out and the size stays the same.   Maybe it is naturally getting bigger and its just surprising me...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 46

Expert Comment

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

Author Comment

by:al4629740
ID: 40503606
Oh no.  This is a different project I'm talking about.
0
 
LVL 46

Accepted Solution

by:
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.
0
 

Author Closing Comment

by:al4629740
ID: 40503651
Thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

919 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now