Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing problem with Data base on Internet

Status
Not open for further replies.

rangaks17

Programmer
Dec 5, 2003
5
IN
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.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top