>I am creating a client application in VB for Windows95 for web courier which transfers a large files 10 - 200 mb.
>
>I am facing a problem with a DO .. WHILE Loop that reads the file to be sent in a binary mode through the winsock control, 1K at a time, during the transmission the whole FORM is inactive until the transmission is done, no control over the main FORM.
>
>I am looking for a solution by creating a child process that can execute the DO .. WHILE Loop in the background and not effecting the main FORM, please any idea how this can be done.
>
>T.Y
Hi Tony
The Easy Way:
Place a DoEvents in in loop. The users will be able to access the main form.
The Hard Way:
Use multi-threading. Ouch!
I never used it but I read that it's not an easy task.
You can find a very good article online at
www.desaware.comIt's written by Dan Appleman.