We have an application that is very complex and a major effort to rewrite. The application is written in VB6, but has .NET components. The main form for the application is VB6 and replacing it has major impact.
We are using the Microsoft Forms Interop Toolkit 2.0 (http://msdn.microsoft.com/en-us/vbasic/bb419144.aspx) which allows using .NET controls on VB6 forms.
We can reproduce the problem in a simple example by creating a simple VB6 form and a .NET user control built with this toolkit. We then drop the C1.Win.C1Input.C1DateEdit control on the form. The control will render, but when clicking on the drop down button to display the calendar an exception occurs. Since we have a .NET user control, we do not want to be adding an ActiveX control on it, we want to use the .NET controls.
Does anybody has some idea of how we can get this scenario to work? Thanks.
Trang.