Ravindran Puliyath

How can i show my crystal reports in MDI form. I am able to place my crystal report viewer control in MDI form

for showing the report as a child. VB6 allowed this with following codes

MDIFORM.crytalReport.Destination = crptToWindow
MDIFORM.crytalReport.WindowParentHandle = MDIFORM.hwnd

How to handle this in VB.NET

Ravindran




Re: Visual Basic Language CRYSTAL REPORT IN MDI FORM (VB.NET)

Riquel Dong ĘC MSFT

Hi Ravindran,

Based on your post, you need to create one VB.Net application that hosts a report. In Visual Studio .NET, you can create a new Crystal report, or add an existing Crystal report to a project. This provides the convenience of report viewing in a Windows application and the Windows Forms Viewer can interact with other controls in the same application and can dynamically update the report it is hosting. For more information about how to create the reports in Windows Applications, visit: http://msdn2.microsoft.com/en-us/library/aa287967(VS.71).aspx.

Hope this helps.