Execute Function parallel / background / seperate from the rest of script


title may be wrong, don’t know how to describe it appropriately.

I have a Form with some computernames listed in a listbox. When I select a computer I want to call a function that does things in the background (like getting free disk space, local admin groupmembers, shares, etc.).

In general it works like a charm.

Problem is, the whole form hangs/freezes during execution of the function.

As soon as the function is completed, everything works fine again.

So the question ist, how do I call a function that is executed “in the background” / “without affecting the main form”?

Thanks 😉


submitted by /u/-nn23-
[link] [comments]

Leave a Reply