Solved

.exe keeps getting bigger after each compile

Posted on 2014-12-16
7
84 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
[X]
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
7 Comments
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40503492
If you recompile without any changes does the size change?
0
 
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.
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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

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

Author Comment

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

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

705 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