Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2005

Tip: Looking for answers? Try searching our database.

Pressing Tab in .NET switches to COM window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
x - 20 Nov 2005 12:32 GMT
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
Stefan B. - 21 Nov 2005 14:52 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.