I am launching a .NET windows form from some vb6 app. When I press the
keyboard tab button it switches to display the vb window.
Any ideas why?
I am compiling the .NET form in Visual Studio with the compile for COM flag
set to TRUE. haven't used any strong naming.
Thanks
I guess you display the .net-form with Form.Show(). This will not work with
.net-framework 1.1 SP1 (maybe it will work in version 2.0). You have to
start your form with ShowDialog() or Application.Run() for non-modal forms
like described here:
http://support.microsoft.com/kb/839076/en-us
or you can get a more or less official fix from MS support here:
http://support.microsoft.com/kb/885446/en-us
> I am launching a .NET windows form from some vb6 app. When I press the
> keyboard tab button it switches to display the vb window.
[quoted text clipped - 5 lines]
>
> Thanks
x - 22 Nov 2005 01:52 GMT
Thanks Stefan.
I wasn't able to use ShowDialog() as the forms needed to be modeless, so I
installed the patch from the link below and it solved the problem.perfectly.
Cheers!
>I guess you display the .net-form with Form.Show(). This will not work with
> .net-framework 1.1 SP1 (maybe it will work in version 2.0). You have to
[quoted text clipped - 14 lines]
>>
>> Thanks