473,396 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

My EXE file increased in FileSize... A LOT!

I have been working on a bugg a long time and finally found the solution for
it. It was solved by creating my own class that inherits the DataGrid
control and overrides a Protected Method called ProcessKeyPreview.

Since I did that the EXE file sized Increased with about 11 Mb and that's
not really good.

Why is this? It's just a few lines of code I added

Best regards/Lars Netzel

Nov 21 '05 #1
2 1091

"Lars Netzel" <no****@doamin.com> wrote in message
news:eZ*************@TK2MSFTNGP12.phx.gbl...
I have been working on a bugg a long time and finally found the solution for it. It was solved by creating my own class that inherits the DataGrid
control and overrides a Protected Method called ProcessKeyPreview.

Since I did that the EXE file sized Increased with about 11 Mb and that's
not really good.

Why is this? It's just a few lines of code I added

Best regards/Lars Netzel

????????

WHAT!

Thats half the size of the entire 1.1 Framework?
Are you sure you havenlt accidentily include some extreneous file into your
app?

Richard
Nov 21 '05 #2
Reboot your machine and try again. I once had this problem in a VB5
application. My typically 1.5 meg exe had ballooned to like 50 megs for no
reason. Apparently alot of garbage was being included and to this date, i
have no idea why. In any case, it finally occurred to me to reboot and
subsequently everything was normal. So reboot, its worth a shot.
"Lars Netzel" <no****@doamin.com> wrote in message
news:eZ*************@TK2MSFTNGP12.phx.gbl...
I have been working on a bugg a long time and finally found the solution for it. It was solved by creating my own class that inherits the DataGrid
control and overrides a Protected Method called ProcessKeyPreview.

Since I did that the EXE file sized Increased with about 11 Mb and that's
not really good.

Why is this? It's just a few lines of code I added

Best regards/Lars Netzel

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phil Powell | last post by:
// PROCESS XML CONTENT INTO DYNAMICALLY-NAMED ARRAYS foreach (array('mime', 'state', 'country') as $val) { $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);...
7
by: Joseph | last post by:
Hi, I'm having bit of questions on recursive pointer. I have following code that supports upto 8K files but when i do a file like 12K i get a segment fault. I Know it is in this line of code. ...
12
by: Ken | last post by:
How can I determine a image file size before uploading it? I would like to make sure the size is under a maximum before taking the time to upload it. If I have to upload the file before...
11
by: Dorsa | last post by:
HI, Could you please tell me the error in here. I am trying to open an XML file from a link. Response.Clear() Response.Expires = 0 Response.BufferOutput = False Response.ContentType =...
7
by: Prince of Code | last post by:
Can anybody help me out by writing a function for the given problem Write a function in PHP that converts given number of bytes into Readabel format like 99.92 KB for 102323 bytes and 3 MB for...
9
by: Use*n*x | last post by:
Hello, I have a binary file (image file) and am reading 4-bytes at a time. The File size is 63,480,320 bytes. My assumption is that if I loop through this file reading 4 bytes at a time, I...
5
by: djhexx | last post by:
Hello. I have an ASP.NET application (C#) that I allow users to upload files. Files get stored in a SQL2005 database. The file data is stored in a varbinary(max) column. When the user uploads...
0
by: shilpagangadhara | last post by:
Hi All, I'm trying to open a directory and after getting the file names from the the directory i need to read the contents of the file. OS ----Unix Language C I have done the following:...
13
by: writeson | last post by:
Hi all, I'm writing some code that monitors a directory for the appearance of files from a workflow. When those files appear I write a command file to a device that tells the device how to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.