Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Change mouse cursor >35 Points

Posted on 1999-08-20
Medium Priority
Last Modified: 2010-04-30
Is it possible to change the mouse cursor from a visual basic program by placing your special mouse.cur in the program ? Instead of the "white arrow" so common place with windows, I just wanted to have my own cursor while my program runs even when it is in the taskbar. Dumb question no doubt, but I would like some code to this effect if possible ? I really don't know where to do this or even attempt to do this. Pretty New to Visual Basic !
Thanks All
Question by:stnic
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

setiawan earned 120 total points
ID: 1532839
This can be done from windows registry
HKEY_CURRENT_USER\Control Panel\Cursors
 - AppStarting
 - Arrow
 - Crosshair
 - Help
 - IBeam
 - No
 - NWPen
 - SizeNESW
 - SizeNS

you can't change value of key above (your *.cur path)
If you need code, just let me know, but I hope you can do it by yourself :)

Expert Comment

ID: 1532840
stnic, but I don't think you can do it in run time from your program, to take effect you must to reboot


Author Comment

ID: 1532841
setiawan, I knew i could change this on a registry level, i was just wondering if it could be done at the program level and then released afterwards. You have answered my question very well. I wonder why this wasn't allowed for, it would have been nich huh ? Thank You for your answer !

Expert Comment

ID: 1532842
stnic, mistyping
it should be you CAN change value of key above (your *.cur path)



Author Comment

ID: 1532843
setiawan, I kind of figured that it was a typing error. Thanks again for all of your help !

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question