Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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????????

Thanks,

 

Bill Yeager (MCP, BCIP)

Microsoft Certified Professional

Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer

YeagerTech Consulting, Inc.

Posted
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...

Thanks,

 

Bill Yeager (MCP, BCIP)

Microsoft Certified Professional

Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer

YeagerTech Consulting, Inc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...