Results 1 to 4 of 4

Thread: [RESOLVED] Removing resources, doesn't reduce the size of the .exe!

  1. #1

    Thread Starter
    Addicted Member Lectere's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    222

    Resolved [RESOLVED] Removing resources, doesn't reduce the size of the .exe!

    Hello VB Friends!,

    I have a big windows forms project I'm working on. This project has 3 pictures included as resource.

    I had 3 pictures of each 5mb, which resulted in a .exe file of 17mb.

    This had to be adressed, because thats a bit to much, so I downsized the pictures to about 100kb each. I've removed the big pictures, and inserted the new ones.

    But when I compile the project, the .exe file still is 17mb, and it won't get any smaller. I've tried to 'Clean Solution', this doesn't help.

    Any idea's?

    Thanks in advance!

    Lectere

  2. #2
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Removing resources, doesn't reduce the size of the .exe!

    With VS closed, deleted the bin and obj folders from the project then re-open VS and run it.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  3. #3

    Thread Starter
    Addicted Member Lectere's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    222

    Re: Removing resources, doesn't reduce the size of the .exe!

    Heya JuggaloBrotha,

    I've just tried that, no luck

    Thanks for thinking along!

  4. #4

    Thread Starter
    Addicted Member Lectere's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    222

    Re: Removing resources, doesn't reduce the size of the .exe!

    I've just solved it, in the project resouces the files were gone, but there were still two large resx files in the source folder. When opening these files by dragging them into visio studio, I was able to remove the old links to the old versions of the pictures!

    Thanks

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width