D
dustbort
I have a VB.NET application that uses OWC Spreadsheet. I have isolated a
bottleneck of my application to a loop where I populate the cells of a
spreadsheet, which is only like 50 rows by 18 columns. All this loop does is
iterate through rows and cloumns, assigning to the value property of the
cells and setting the interior.color property of some cells. This takes 3
seconds on my machine and 6 seconds on another machine. I altered the code
to assign literal values to the cells, and it ran just as slowly. I also
tried disabling features of the spreadsheet that I thought might be
responding to the assignments, such as events, undo, calculation, and column
resizing, buth this had no effect. Does anyone know why this is so slow and
how to speed it up?
bottleneck of my application to a loop where I populate the cells of a
spreadsheet, which is only like 50 rows by 18 columns. All this loop does is
iterate through rows and cloumns, assigning to the value property of the
cells and setting the interior.color property of some cells. This takes 3
seconds on my machine and 6 seconds on another machine. I altered the code
to assign literal values to the cells, and it ran just as slowly. I also
tried disabling features of the spreadsheet that I thought might be
responding to the assignments, such as events, undo, calculation, and column
resizing, buth this had no effect. Does anyone know why this is so slow and
how to speed it up?