Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

[RESOLVED] Keep form active while program is busy

$
0
0
Hi

I have a form which asks for user input. Based on this input a database is queried. The found result is then enriched by more queries and presented to the user in the form of a overview. Because this is done real time, each result takes time to be presented. What I'm hoping to achieve is that while the form/application is idle, in the background a lot of the query work is already done and preloaded into objects. As soon as the user starts entering data into the form, the pre-loading should be interrupted.

I've got the preloading to work, that's not the problem, but whilst this is going on, the form can not be used, which makes it impossible to interrupt the preloading. I'm not using threads or the backgroundworker because these are unknown territory for me. Should I be using them, or is there another way?

Thank you

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>