Click to See Complete Forum and Search --> : How To : Create & Use Thread in VB 5.0


Dipankar Chakraborty
February 26th, 1999, 02:41 AM
Hello,

I am using TrueDB Grid Pro 5.0 in storage mode in my application. At times it is

required to display 50,000 records in the grid. The data is fetched from

ALLBASE Database from HP3000 using ODBCLink/SE driver. The load time

spans over 10 minutes in that case. I am planning to fetch 500/1000 records in

the XARRAY, associated with the Grid, and open a seperate Thread and do a

full fetch in the background. This will be more efficient (I guess). But I cannot

find any reference so as how to do the coding using win32 API call like

CreateThread and others. Can you give me some idea on how to go about it

OR is it possible in VB 5.0 to have independent thread execution in the

background while user can work on the GUI, uninterrupted.


Note : Internet is my only source of reference.


Thanks


Dipankar

Vinayak Sapre
February 28th, 1999, 11:57 PM
Checkout www.desaware.com for threading information. But if you can use RDO for this it does have async read options. Might be easier than threading