473,322 Members | 1,409 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,322 software developers and data experts.

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 ShowCrystalViewer(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 3328

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.public.dotnet.framework,microsoft.public .dotnet.framework.windowsf
orms,microsoft.public.dotnet.framework.windowsform s.controls,microsoft.publi
c.dotnet.languages.csharp
| NNTP-Posting-Host: 219-88-70-85.adsl.xtra.co.nz 219.88.70.85
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:563 31
microsoft.public.dotnet.framework.windowsforms.con trols:12296
microsoft.public.dotnet.languages.csharp:198561
microsoft.public.dotnet.framework:58636
| X-Tomcat-NG: microsoft.public.dotnet.languages.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 ShowCrystalViewer(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
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...
3
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
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...
0
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...
0
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,...
1
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...
19
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...
3
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...
7
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.