ChildFormDialog error


Author
Message
Andria Jensen
Andria Jensen
StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I have a ChildFormDialog control on a form, and have set up the ChildForm and BO Translations for it.  The child form is coming from a dll and is an inherited form.  In my code I call ChildFormBank.ShowDialog() and get the attached error message every time.

I have included the stack trace for more info.


11/2/2006 9:35:32 AM
Source: mscorlib
Message: Value cannot be null.
Parameter name: type
Stack:    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   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 BBS.GUI.frmClientInfo.MaintBankRel_AfterButtonClick() in C:\FactorSoftV3\GUI\ClientInfo\frmClientInfo.vb:line 205
   at BBS.GUI.BaseControls.MaintStrip.button_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
   at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.Utils.Controls.ControlBase.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
Andria Jensen - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Andria Jensen - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Andria Jensen - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Andria Jensen - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Chan - 17 Years Ago
                     What sort of error do you get from the second call to...
StrataFrame Team - 17 Years Ago
                         Hi,
I hit error

Constructor on type...
Chan - 17 Years Ago
                             Aha, in the code that you posted, you're expecting one parameter that...
StrataFrame Team - 17 Years Ago
                                 If you didn't want to pass all of your parameters as an object[], then...
StrataFrame Team - 17 Years Ago
                                     [quote][b]Ben Chase (08/28/2007)[/b][hr]If you didn't want to pass all...
Chan - 17 Years Ago
                                         Yep, the ChildFormDialog is designed to work like that. If your form...
StrataFrame Team - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search