wsyeager Posted April 23, 2003 Posted April 23, 2003 I have child forms that act as a UI to the user (from within the MDI app), runs some process, then displays another separate child form to the user (from within the parent MDI main form) displaying the results of a Crystal Report using the following code: Dim frmObject As New frmAdHocISPProvisioningReport(DsProvOrderSum1) frmObject.MdiParent = Me.MdiParent frmObject.Show() When using the same code above, and trying to run a similiar report directly from the main form itself (instead of another child form acting as a UI), the report comes up outside of the main parent form not as its child. Why???????? Quote Thanks, Bill Yeager (MCP, BCIP) Microsoft Certified Professional Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer YeagerTech Consulting, Inc.
wsyeager Posted April 23, 2003 Author Posted April 23, 2003 I got it to work by just assigning "Me" to the frmObject.MDIParent instead of "Me.Parent" since I'm currently insdide the main MDI parent form to begin with... Quote Thanks, Bill Yeager (MCP, BCIP) Microsoft Certified Professional Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer YeagerTech Consulting, Inc.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.