Hello there!
I have two screens. one created in vb and the second is in WPF.
I must embed the vb inside the wpf.
Therefore i had an idea to firstly create a new Windows Form's form, and to use win32 API function "SetParent" in order to embed the vb screen inside the windows form. Secondly, host the winform inside the wpf form using the wpf WindowsFormsHost control.
Everything is going just fine in an seperated test application. but when i'm trying to do it in the complete huge wpf application, the winform is loaded empty, and the vb screen is flashes and then disappear immediately.
is there's some posible solution???
please help.. it's really rush.
Thanks.
P.S: if someone have better way to embed vb6 in wpf ... i whould like to hear it.
Neria