Can a .NET control be placed Semi-directly on a VB6 form ??
-
Tuesday, May 15, 2012 5:29 PM
I'll apologize in advanced if this is a dumb question.
BUT if you take a look at the main-page for the Forms Interop Toolkit and look at their 1st example shown on screen, IT implies that a VB.NET menu control (toolstrip and menustrip) is somehow connected directly to the VB6 orderlist form.
http://msdn.microsoft.com/en-us/vstudio/bb419144
NO WHERE in the samples that installed with the toolkit is that specific example shown.
I'm actually looking to do a similar thing with a .NET ListView control hosted on a VB6 form.
I figured the example shown on the toolkit screen would be a good place to start...
BUT it appears to be a dead-end.
Any updated examples that actually show what is discussed?
Any guidance to point me in the right direction?THANK YOU!
jrc@bay-master.com
- Edited by JRC Baymaster Tuesday, May 15, 2012 5:30 PM
All Replies
-
Thursday, May 17, 2012 6:22 AMModerator
Hi Baymaster,
Welcome to the MSDN forum.
According to your description, you want to use .NET control in VB6 forum. Yes, Interop Form Toolkit is one way to reach your goal. There is a tutorial about this here: http://www.codeproject.com/Articles/18954/Interop-Forms-Toolkit-2-0-Tutorial . Generally, after you’ve installed that toolkit (http://msdn.microsoft.com/en-us/vstudio/bb419144), you can see a template “VB6 Interop UserControl”when creating a new project. And then you can build it and add this control to a VB6 project.
If I misunderstood anything, please feel free and let me know.
Best regards,
Shanks Zen
MSDN Community Support | Feedback to us
- Marked As Answer by Shanks ZenMicrosoft Contingent Staff, Moderator Thursday, May 24, 2012 8:12 AM

