|
-
Dec 28th, 2022, 11:10 AM
#32
Re: VB6 Threaded Forms (simple Demo)
Yeah, as amusing as it was reading this debate over the pros and cons of each threading model, I do have a question pertaining to the initial post. Having to click a button to create new threads is obviously not very practical.
I discovered the hard way that moving the thread creation code in the "Form_Load" event doesn't work! It doesn't produce any errors but all the new forms display the same ThreadID, meaning they are not running in separate threads. A temporary fix was using the "Form_Activate" event instead but I was wondering if there's a better way?
Last edited by VanGoghGaming; Oct 13th, 2023 at 04:56 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|