473,795 Members | 3,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Turn Cursor into an Hourglass when waiting

PK9
I'm creating an application in C# with webservices and some of the pages have
a substantial amount of lag time.

I'd like to know if there is any way to have the cursor turn into an
hourglass while waiting? Any help is appreciated!
--
PK9
Nov 22 '05 #1
2 2617

"PK9" <PK*@discussion s.microsoft.com > wrote in message
news:52******** *************** ***********@mic rosoft.com...
I'm creating an application in C# with webservices and some of the pages
have
a substantial amount of lag time.

I'd like to know if there is any way to have the cursor turn into an
hourglass while waiting? Any help is appreciated!
--
PK9


ThisForm.Cursor = Cursors.WaitCur sor.

Tom P.

Try looking up cursor in the help.
Nov 22 '05 #2
PK9
This won't work. I am not creating a Windows Form applicaiton. I am
creating a Web Application (using C#). Is there any way to do this in a web
application?
--
PK9
"Henry Padilla" wrote:

"PK9" <PK*@discussion s.microsoft.com > wrote in message
news:52******** *************** ***********@mic rosoft.com...
I'm creating an application in C# with webservices and some of the pages
have
a substantial amount of lag time.

I'd like to know if there is any way to have the cursor turn into an
hourglass while waiting? Any help is appreciated!
--
PK9


ThisForm.Cursor = Cursors.WaitCur sor.

Tom P.

Try looking up cursor in the help.

Nov 22 '05 #3

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

Similar topics

1
2198
by: Tee | last post by:
Hi, From my main form, I am executing another application using System.Diagnostics.Process.Start. The application has its own window displaying when the applicaiton is run. I want to change the cursor to a hourglass. But I only can change my own form's cursor using Cursor.Current, whenever I move my mouse cursor into the window, the mouse cursor back to default cursor. I want to change the cursor in the process's window too. Can...
2
598
by: PK9 | last post by:
I'm creating an application in C# with webservices and some of the pages have a substantial amount of lag time. I'd like to know if there is any way to have the cursor turn into an hourglass while waiting? Any help is appreciated! -- PK9
10
2891
by: Bill H | last post by:
I used a bit of JS on a page that is fairly long and didn't like the way that <A HREF='#' ONCLICK=\"... refreshed the page to the top. Removing the HREF (<A ONCLICK=\"...) solved my "problem" however the cursor no longer changes into the little hand when rolling over the link. Can I have both? No HREF and the little hand?
5
14463
by: Vlad Simionescu | last post by:
Hello I'm trying to let my Windows Form application perform a lengthy operation while displaying a progress bar in a modal dialog window; the dialog has a cancel button. The dialog is displayed in the main thread while the work is done in a background thread. I managed to do it except for one minor problem: I want the cursor to be hourglass when it is over the main window and be normal (arrow) when it is over the dialog box. I cannot do...
3
7000
by: Andy G | last post by:
This should be very simple but I can't figure it out or find ANYTHING posted about how to change your cursor to an hourglass. I have a ASP.NET web form using VB.NET code behind. When I click on a button I want the cursor to change to an hourglass and then change back to the normal cursor afterwards. Any help would be greatly appreciated. Thanks.
4
2950
by: Marty Cruise | last post by:
Does anyone know of an wait-type cursor that can show text beside the hourglass? I'd like to display status messages beside the hourglass while not allowing the user to click anything...
5
6554
by: awu | last post by:
All: I want to turn my hourglass around to indicate my program is still running. I am using VBA with Excel and MS Access 2000. So far I use DoCmd.Hourglass true and false to turn on/off hour glass. Thank you in advance awu10
3
6784
by: bob | last post by:
Is there anyway to show the hourglass (busy) cursor on the entire monitor screen, not just when the cursor is within the current program's window? Thanks
0
1152
by: shumaker | last post by:
private void processImports_Click(object sender, EventArgs e) { statusLabel.Text = "Processing..."; this.Cursor = Cursors.WaitCursor; Application.DoEvents(); this.Enabled = false; progressBar.Value = 0; try{... lots of processing} ....
3
14951
by: alanpike | last post by:
When a vbscript runs, is it possible to change the cursor to an hourglass until the script has completed running? Please reference the following simple script: (change cursor to hourglass here) For I = 0 to 1000000 I = I + 1 Next (change cursor back to default here)
0
9672
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
9519
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
10436
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
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
10163
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,...
1
7538
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
6780
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
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.