473,787 Members | 2,931 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Report Viewer overrides mouse cursor setting

Hi,

I am loading some crystal reports in a method similar to this (see below).
And set the cursor to waiting while the reoprt is loaded, run and shown.
BUT while the report is running the cursor changes back to default.
I have tested setting it back to waiting after the call to run the report, -
and it does get set.

Has anyone else seen this wierd crystal bug
I am also putting a message in the status bar - and this hold true the
correct amount of time ?
private void ShowCrystalView er(string rptName)
{
this.Cursor = Cursors.Waiting ; //cursor set here (OK)

try
{
LoadCrystalRpt( rptName); //cursor goes back to normal here (why???) // this
operation takes the longest!
this.Cursor = Cursors.Waiting ; // test setting cursor again (OK)
}
finally
{
//set cursor back to deafault
this.Cursor = Cursors.Waiting ;
}

Thanks,
Glendon
Nov 15 '05 #1
1 3381

Hi,

In addition to posting your question here, also look at
http://www.crystaldecisions.com/. Though it ships with Visual Studio,
Crystal Reports is supported by Crystal Decisions. They have a self-help
section and they offer phone & e-mail support. Their web sites states that
you get two Crystal incidents with the purchase of Visual Studio .NET.
Thanks for your understanding.

Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: <g>
| Subject: Crystal Report Viewer overrides mouse cursor setting
| Date: Wed, 12 Nov 2003 15:08:03 +1300
| Lines: 33
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <OL************ **@TK2MSFTNGP11 .phx.gbl>
| Newsgroups:
microsoft.publi c.dotnet.framew ork,microsoft.p ublic.dotnet.fr amework.windows f
orms,microsoft. public.dotnet.f ramework.window sforms.controls ,microsoft.publ i
c.dotnet.langua ges.csharp
| NNTP-Posting-Host: 219-88-70-85.adsl.xtra.co .nz 219.88.70.85
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl
microsoft.publi c.dotnet.framew ork.windowsform s:56331
microsoft.publi c.dotnet.framew ork.windowsform s.controls:1229 6
microsoft.publi c.dotnet.langua ges.csharp:1985 61
microsoft.publi c.dotnet.framew ork:58636
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| Hi,
|
| I am loading some crystal reports in a method similar to this (see below).
| And set the cursor to waiting while the reoprt is loaded, run and shown.
| BUT while the report is running the cursor changes back to default.
| I have tested setting it back to waiting after the call to run the
report, -
| and it does get set.
|
| Has anyone else seen this wierd crystal bug
| I am also putting a message in the status bar - and this hold true the
| correct amount of time ?
|
|
| private void ShowCrystalView er(string rptName)
| {
| this.Cursor = Cursors.Waiting ; //cursor set here (OK)
|
| try
| {
| LoadCrystalRpt( rptName); //cursor goes back to normal here (why???) //
this
| operation takes the longest!
| this.Cursor = Cursors.Waiting ; // test setting cursor again (OK)
| }
| finally
| {
| //set cursor back to deafault
| this.Cursor = Cursors.Waiting ;
| }
|
| Thanks,
| Glendon
|
|
|

Nov 15 '05 #2

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

Similar topics

2
1957
by: Jeannette | last post by:
Hi! there, I am currently working on web-based reports using crystal reports.NET 2003 and I am new to this reporting tool. I notice that the WEB forms report viewer toolbar does not include the 'PRINT' button, in which users can specify the print layout - portrait or landscape. Does anybody know how to add a 'PRINT' button to the web forms report viewer toolbar? Any help would be GREATLY appreciated!
3
4525
by: Robert Schuldenfrei | last post by:
Dear NG, I have Crystal Reports working to a file and directly to the printer with the following: private void mnuInvRep1301_Click(object sender, System.EventArgs e) {
5
9454
by: Robert Schuldenfrei | last post by:
Hi Again, Forgive me for posting this again, but old items seem to get little review. I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When I print my reports to a file or directly to the printer, the orientation is landscape. This was set in the report itself using Designer | Printer Setup and setting the printer to landscape. When I send the report to the viewer, using the...
0
2074
by: Henry | last post by:
Using ideas provided by some of you I was able to figure out how to get the names of the parameters fields of a crystal report specified at run time. The code below just basically puts the data into a comboBox. One thing I noticed, however, is that this method shows me both the parameters used by the main report and parameters used by the sub-report(s).
0
1460
by: murlbrown | last post by:
I have built a report using Crystal Report 8.0, which is set to get its data from a MS SQL Stored Procedure with 1 Parameter(smalldatetime). I can get the report to display in crystal with data, and can execute the sp in a query and get returned data. However, I can not get the report to load into the Crystal Report Viewer on the asp.net form. I am using a modal dialog window(asp.net webform) to pop up and ask them the parameter for the...
1
12184
by: Karthic | last post by:
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to know how will this affect a report rendered by a crystal viewer. I have a web page with a crystal viewer rendering the report on the page. I build my application in one of my development machines and deploy it
19
3882
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set ReuseParameterValuesOnRefresh="True" in a viewer, but it still doesn't work. Did anyone run into this problem. What's the solution? Please help. Thank you
3
3612
by: Aaron Smith | last post by:
Is there a way with the CR For .Net Viewer control to get the field and the value if a user clicks on a field in a report? I know if previous versions you could do this... If you can't do it with the CR for .Net that comes with Visual Studio, what is needed to do that? Aaron -- --- Aaron Smith Remove -1- to E-Mail me. Spam Sucks.
7
6721
by: Jlo | last post by:
Hi, I have a c# winforms application. When I call the report file, it shows me all the records in the table. How can I make it to call only a particular range. i have the following code Viewer1.ReportSource = Application.StartupPath + "//Label.rpt"; How can I assign it a dataset which have the data of a particular range.
0
9655
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10172
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5535
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.