|
-
Jun 13th, 2022, 03:09 AM
#14
Thread Starter
New Member
Re: COM Visible library fails to access the UI thread?
 Originally Posted by 3raser
I will test this more thoroughly to see what I missed last time. 
I think last time I tested this I was more demanding. I tested the same callback method in different threads and in a backgroundworker. That clearly doesn't work because from within VB6 it runs this as if the modal form was non-modal.
So I think the answer to my own question "Does anyone know if it is possible to keep using the VB6 UI elements while a .NET Form is opened?" is: By using a callback class that works on the same thread as the one that opened the .NET code.
If there is anyone with a better answer, like how to make events work from a modal form, then I still love to hear them.
Tags for this Thread
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
|