I am trying to load some data from active directory into a treeview however the data is taking a long time to load and I would like to have it run in a backgroundworker or another thread and allow the form to continue to load. All attempts to make this work has been for not.
Can anyone let me know what can be done to get this to work.
Basically what I have done so far is create a backgroundworker and place it in the onload section of my form. added the function and it works but it does not show the form until the backgroundworker finishes..
thanks in advance for any help.
Can anyone let me know what can be done to get this to work.
Basically what I have done so far is create a backgroundworker and place it in the onload section of my form. added the function and it works but it does not show the form until the backgroundworker finishes..
thanks in advance for any help.