Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: msflexgrid problem


Message #1 by "Joe Black" <elbeanburrito@h...> on Mon, 24 Feb 2003 10:47:50 -0500
Hey guys, I am having a problem with in the MSFLEXGRID control.  I have SP5 
installed.  I have had this problem happen on my home pc and my work pc.  
Let me describe my problem:

I have a form with the grid control on it.  I read records from a table in a 
database and put them in the grid.  After testing and running the 
application in IDE I will get an "out of memory" error and my pc lags and 
starts to drag heavily.  I was confused at first by this and shrugged it off 
and thought that it may have been because I hadn't rebooted my pc at home in 
a while.  Two weeks later I am working on a new and seperate project using 
MSFLEXGRID.  I have the grid on the form but I have yet to put any code to 
add data to the grid.  All I was doing is setting the width of the cols and 
also doing some math calculations and what not but not adding any 
information to the grid.  I got the error again.  I rebooted and removed the 
grid from my application, programmed for another 3 days with out the error.  
I readd the grid and estimating that I run and stop the project about 40-50 
times.  I get the error.  I have talked with some of my coworkers about 
this, and they too have gotten the error when using MSFLEXGRID.

What I believe is happening is the grid is not removing it self from memory 
but I am not sure.  Does anyone know what the cause of this is and how to 
fix it?   Sorry about the logn paragraph but I was trying to explain the 
problem fully.

Thanks In Advance,
Norm

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


  Return to Index