I have created a COM Wrapper DLL that I can call from our VB6 application which opens up selected .NET forms. In my COM Dll I set all the Microfour settings found in the appmain. (Connection, localization) etc...
In general everything seems to work fine, however I get errors when I use child form dialogs in my .NET project and try calling from my COM Wrapper. I also think I have a similar problem when I fill combo boxes using item populating settings.
Is there a reference I am missing or something I may be doing incorrectly to cause the error?
Thanks
Tim
************** Exception Text **************
System.Exception: Type 'Avanti.Scheduling.frmMilestonesDialog' could not be found in the referenced assemblies. ---> System.Exception: The call to 'MicroFour.StrataFrame.Tools.GetTypeFromReferencedAssemblies' failed because the entry assembly could not be evaluated.
at MicroFour.StrataFrame.Tools.Common.GetTypeFromReferencedAssemblies(String TypeName)
--- End of inner exception stack trace ---
at MicroFour.StrataFrame.Tools.Common.GetTypeFromReferencedAssemblies(String TypeName)
at MicroFour.StrataFrame.UI.Windows.Forms.ChildFormDialog.CreateForm(Object[] Arguments)
at MicroFour.StrataFrame.UI.Windows.Forms.ChildFormDialog.ShowDialog(Object[] Arguments)
at MicroFour.StrataFrame.UI.Windows.Forms.ChildFormDialog.ShowDialog()
at Avanti.Scheduling.frmMilestones.ShowChildForm() in C:\Source Code\Scheduling\Avanti Scheduling\Avanti Scheduling\Forms\frmMilestones.vb:line 253
at Avanti.Scheduling.frmMilestones.grdMilestones_DoubleClickRow(Object sender, DoubleClickRowEventArgs e) in C:\Source Code\Scheduling\Avanti Scheduling\Avanti Scheduling\Forms\frmMilestones.vb:line 758
at Avanti.Scheduling.frmMilestones.grdMilestones_ClickCellButton(Object sender, CellEventArgs e) in C:\Source Code\Scheduling\Avanti Scheduling\Avanti Scheduling\Forms\frmMilestones.vb:line 747
at Infragistics.Win.UltraWinGrid.UltraGrid.OnClickCellButton(CellEventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGrid.FireEvent(GridEventIds id, EventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGridCell.OnButtonClick()
at Infragistics.Win.UltraWinGrid.ButtonWithStyleUIElement.OnClick()
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)