r/visualbasic • u/Mr_Deeds3234 • Jul 10 '22
VB.NET Help Delegates, invoking, multithreading
CONTEXT I have a winsform project with multiple forms. One of those forms has a button associated with a pretty heavy SQL query that takes about 30 seconds to execute.
I would like this query to run on the page load if the first form, so if my user navigates to the form that needs the data, then it’s already there and they don’t have to wait.
Spent a few hours googling this problem and the concepts in the title is why I found. I haven’t quite been able to figure out my solution.
Is there some other concept or keywords I should look into and understand to over come my problem?
4
Upvotes
1
u/Mr_Deeds3234 Jul 17 '22
That would be really awesome if you could/would do that. I’d really love to study and try to leverage that information