S
stan.goodvibes
Hi there,
I've got VB Express installed and working. I downloaded the evaluation
copy of Crystal Reports Developer Edition XI, that works fine as well.
In VB I went to Tools->Choose Toolbox Items and browsed to C:\Program
Files\Business Objects\Common\3.5\managed\dotnet2 and selected
CrystalDecisions.Windows.Forms.dll.
As expected VB placed the CrystalReportViewer control in my toolbox.
However, whenever I try to drag the control onto a form instead of
staying on the form it drops down to the icons bar below the form, in
the same way that the timer control does.
I can reference the CrystalReportViewer control in my form, using the
standard code i.e.
dim oRpt As
CrystalDecisions.CrystalReports.Engine.ReportDocument
oRpt = New
CrystalDecisions.CrystalReports.Engine.ReportDocument
oRpt.Load("C:\Program Files\...
\UserList.rpt",OpenReportMethod.OpenReportByDefault)
oRpt.SetParameterValue("v_param", 9999)
CrystalReportViewer1.ReportSource = oRpt
But I can't make it visible no matter what methods I try.
I have scoured the web and a few people have had the same problem but
no-one has an answer.
Pleeeeeeze help, its driving me mad!!!
I've got VB Express installed and working. I downloaded the evaluation
copy of Crystal Reports Developer Edition XI, that works fine as well.
In VB I went to Tools->Choose Toolbox Items and browsed to C:\Program
Files\Business Objects\Common\3.5\managed\dotnet2 and selected
CrystalDecisions.Windows.Forms.dll.
As expected VB placed the CrystalReportViewer control in my toolbox.
However, whenever I try to drag the control onto a form instead of
staying on the form it drops down to the icons bar below the form, in
the same way that the timer control does.
I can reference the CrystalReportViewer control in my form, using the
standard code i.e.
dim oRpt As
CrystalDecisions.CrystalReports.Engine.ReportDocument
oRpt = New
CrystalDecisions.CrystalReports.Engine.ReportDocument
oRpt.Load("C:\Program Files\...
\UserList.rpt",OpenReportMethod.OpenReportByDefault)
oRpt.SetParameterValue("v_param", 9999)
CrystalReportViewer1.ReportSource = oRpt
But I can't make it visible no matter what methods I try.
I have scoured the web and a few people have had the same problem but
no-one has an answer.
Pleeeeeeze help, its driving me mad!!!