Crystal ReportsGeneral discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
When loading a Crystal Report through .NET in a windows form, I'd like to be able to display an hourglass while the report is loading so that it doesn't look like the application is locking up. I haven't found anything about hourglass cursors in .NET documentation or online help. I am programming in VB.Net. Does anyone have the solution to this?
I discovered that I was missing the reference System.Windows.Forms and added it. The code does not show any errors, but the cursor does not change.
I've noted a few other points of code that name the cursor ("Busy.cur") etc. but the code is looking in the wrong folder for that cursor. It seems like using the windows defaults would be the better direction to go... but still I am not getting the cursor to display.
Just realized another pertinent factor here. I keep forgetting that the programming for windows forms is totally different than formatting for web forms. What I am attempting to do is with web forms.
The code presented so far does not display any cursor change in my web forms.
Well I do not think you can change cursor in webforms at all however there is a thing called buffer I think there might be a way of doing it thru that look at this example it might give you an idea...
change the buffer to TRUE to see the difference
<%@ Page Language="VB" %>
<html>
<body>
<%
Response.Buffer=False
Dim i as Integer
For i = 1 to 50000
Response.write(" X")
next
%>