I need to process the response to a http request in a separate thread. I will receive some json and parse it, then add it to a table in my database. This all needs to be done using a single thread. I have tried using the threading lib but it does not run the sub and process the data. Can anyone supply a little bit of code to help me out?
You won't be able to update the Table (or anything else in the Gui) from within a thread, you'll need to delegate that to a sub on the main thread using the Threads RunOnGuiThread method.
Thanks for the reply. So to clarify, I cannot process my response from a http request in a new thread? Processing data from the downloaded files well halt the UI.. Isn't that what the threading lib is enabling me to do or am I missing the point?