I wrote COM wrapper for one of my UI forms that I need to call from VB6. Evertything works perfectly, after dealing with the connections and localization files etc..., except I'm getting an error on my combox requery's. I am populating the combo boxes on the form using the SF Item population settings.
I created a quick .NET calling program that refereces my COM dll and it seems to work fine from here.
Any idea's what is causing this and what I need to correct this.
Thanks
TIm
************** Exception Text **************
System.Exception: Type 'Avanti.BusinessObjects.sch_WorkFamilyBO' 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.ListControl.PopulateComboFromBusinessObject(IListControl lstControl, Object[] Parameters)
at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateCombo(Control lstControl, Object[] Parameters)
at MicroFour.StrataFrame.UI.Windows.Forms.Infragistics.UltraComboEditor.PopulateCombo(Object[] Parameters)
at MicroFour.StrataFrame.UI.Windows.Forms.Infragistics.UltraComboEditor.Requery()
at MicroFour.StrataFrame.UI.Windows.Forms.Infragistics.UltraComboEditor.InitializeObject()
at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects()
at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)