Child Form Dialog Problem


Author
Message
Tim Dol
Tim Dol
StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)StrataFrame User (408 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
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)


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Tim Dol - 17 Years Ago
StrataFrame Team - 17 Years Ago
Tim Dol - 17 Years Ago
                 Ben, I figured out what you meant. Me...
Tim Dol - 17 Years Ago
                     What is the error that it's throwing? Is it throwing a...
StrataFrame Team - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search