Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

The program made with Visual Studio Community 2017 is too big-sized

I've created a program for finding the factors for an integer that users have put in the program. I added Splash Screen and About Box in my program with images inserted. I accidentally used the project resource file for importing image instead of local resource for the picture box. By consequence, the .exe program was enormously big after I finished the project and saved it(it was 6.9MB). The code I wrote in the program isn't over 40 lines, so I don't think the amount code is the problem.

I've realized later that images stored in the project resource file will take up the storage and therefore, will increase the file size(one of the images I used was 6.8MB). So I deleted all the images stored in the project resource file and imported images from local resource and I thought this will decrease the file size to a few hundred KB.

Obviously, after I saved all and executed to create the .exe file for the saved properties, the .exe program's size remained 6.9MB. I've tried to find any possible leftover images in the resource storage of the project, but I couldn't find anything that is related.

Did I miss something that possibly takes up the storage and make the executable program size bigger? I need to make the program lower than 2MB.

Comments