Hi Everybody,
I am connecting to a mysql database on internet and popluating results in various usercontrols place on the form. These usercontrols have MSHFlexigrid where the data is shown.
When the user resizes it takes long time to resize the form, as there are some initial records that have to be retieved from the database. I have tried several methods like "lockwindowupdate" and minimising the use of usercontrols.
But I am not 100% successful. Is there any method through which you can seperate the the userinterface from the database retieval.
I want to run both the displaying of the form and
retireval from the database as two different threads.
So that there won't be any delay in resizing, the form will resize to its full and then the results from the database are displayed.
I know this is a very complicated issue everybody is trying to work around form resizing in VB6.
Any replies would be greatly appriciated.
I am connecting to a mysql database on internet and popluating results in various usercontrols place on the form. These usercontrols have MSHFlexigrid where the data is shown.
When the user resizes it takes long time to resize the form, as there are some initial records that have to be retieved from the database. I have tried several methods like "lockwindowupdate" and minimising the use of usercontrols.
But I am not 100% successful. Is there any method through which you can seperate the the userinterface from the database retieval.
I want to run both the displaying of the form and
retireval from the database as two different threads.
So that there won't be any delay in resizing, the form will resize to its full and then the results from the database are displayed.
I know this is a very complicated issue everybody is trying to work around form resizing in VB6.
Any replies would be greatly appriciated.