Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the system cursor

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
IL
Hello all,

I have a vb.net 2008 app that starts with "sub main()", and then it opens a form.

I want to change the mouse cursor (to wait cursor) just as the sub main starts. Currently I can change the mouse cursor just when the form is start loading (Me.cursor), but it's too late...

How can I do it?

Thanks in advance!
 
You might look at the Application.StartUp event.

You can access this by Right-Clicking your project name and selecting Properties. On the Application tab is an Application Events button. There is a cooment at the top describing which events you can use. A web search should help with syntax if you need it....

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Thanks, I didn't know about it.

I try it, but I can't find a method to change the cursor...
 
I also found that the cursor class was not available in the Startup event. I have not found anything yet to make it work as you would like.... Still searching though.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top