Please wait..

padvou

Active Member
Licensed User
Longtime User
Hi everybody.
When there's a time consuming query that selects data to fill a listview how can I inform the user to wait until they are finished?
I 've tried putting progressdialog show before the commad that runs the query, but it ...doesn't show:)
Maybe because the main thread is too busy? I don't know...
Any suggestions, please?
 

padvou

Active Member
Licensed User
Longtime User
Ok, here goes once more..
I have a part in the code that initializes some http jobs to receive some data form a web server. Which works fine ( I think..)
Whenever the sub that initializes them is fired, anything else that works on separate thread, for example the ftp client that sends some files, another sub that runs some queries.. do not function...
Any ideas?

To avoid duplicate posting, I'll continue my request here, since I figure it's an http issue..
 
Last edited:
Upvote 0

Informatix

Expert
Licensed User
Longtime User
Ok, here goes once more..
I have a part in the code that initializes some http jobs to receive some data form a web server. Which works fine ( I think..)
Whenever the sub that initializes them is fired, anything else that works on separate thread, for example the ftp client that sends some files, another sub that runs some queries.. do not function...
Any ideas?

To avoid duplicate posting, I'll continue my request here, since I figure it's an http issue..

Debugging an async task inside another async task is not easy, so you should start by debug your code synchronously (as much as possible).
 
Upvote 0
Top