I'm not sure this is what you are talking about but I just did something
similar with uploading to an ftp site. Basically what I did is created a
progress form that had a status property and then had this in click of the
upload button
oProgress = new progress
oProgress.Statu s = "Connecting "
oProgress.Show
ftpThread = New System.threadin g.thread(addres sof UploadFTP)
then in my UploadFTP method I had this
oProgress.statu s = "Uploading File A"
'Upload file A
oProgress.statu s = "Uploading File B"
'Upload file B
oProgress.statu s = "Uploading File C"
'Upload file C
oProgress.statu s = "Uploading File D"
'Upload file D
This kept the program from looking like it was "Not Responding" and allowed
me to add a cancel button also.
<si***********@ yahoo.com> wrote in message
news:1d******** *************** ***@posting.goo gle.com...
Hi,
I am designing an interface which allows users to load certain files
into the interface. While the file is loading, I want to display a
VB.NET form with the list of messages generated during the process. I
want the form to be displayed during the loading process and the
messages to appear one after another as they are generated in the
back-end. I'm pretty sure I need to use multi-threading for this but
I am having a lot of trouble figuring out how to do it.
I think part of my problem might be that the function which displays
the form and adds the messages to the form gets called on an
as-needed-basis instead of in a step-by-step process.
Does anyone have any advice or ideas on how I can approach this
problem??
Thanks!!
Joy