473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

CrystalViewer control problem

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.ReportDocum ent
oRpt = New
CrystalDecisions.CrystalReports.Engine.ReportDocum ent
oRpt.Load("C:\Program Files\...
\UserList.rpt",OpenReportMethod.OpenReportByDefaul t)
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!!!

Mar 22 '07 #1
1 1425
I think you have some problem either with the installation of VB or Crystal.
I removed first CrystalViewer from the toolbox, then I followed your steps
and everything was OK. Viewer appears on the form, not below.
If you have another machine try on it.

vovan

<st************@gmail.comwrote in message
news:11**********************@l75g2000hse.googlegr oups.com...
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.ReportDocum ent
oRpt = New
CrystalDecisions.CrystalReports.Engine.ReportDocum ent
oRpt.Load("C:\Program Files\...
\UserList.rpt",OpenReportMethod.OpenReportByDefaul t)
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!!!

Mar 23 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Sagaert Johan | last post by:
I have made a custom control that draws a rectangle when the mouse is down, and does nothing when the mouse is up. I set/reset a flag in MouseDown/Mouse up and use this to do the drawing in the...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
2
by: Japie Niemand | last post by:
Hi, I have created a UserControl with the CrytalReport viewer. When I run the app and use this UC the Crystalviewer have no images in the toolbar. I have tried by instantiating the Cruysterviewer...
0
by: AMDRIT | last post by:
We have a series of reports for a new application. As part of the process flow, these reports should be generated and printed at the conclusion of the transaction. Prior to this requirement, each...
0
by: rik | last post by:
im using CrystalViewer in an asp.net web application and pushing a dataset to it. it works fine and displays just fine. however when i export it and it has multiple pages, it only exports the very...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
0
by: kjohnston via DotNetMonster.com | last post by:
Created a single form with one TabControl and a Crystal Reports XI viewer on it. The application displays one to many reports from the form as necessary. In order to accomplish this, the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.