by Vince Hahn (1 Submission)
Category: Windows API Call/Explanation
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
This code simplifies the code found at https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=24150&lngWId=1 so that one can use a module and just pass a few arguements rather than clutter up your load and unload procedures, or however else you want to call the routines.
Inputs
Setting: Calling form's name, or the "Me" thingy will do fine, and location of the animated cursor file (*.ani). In this case the location has been set up for whomever downloads it, but easy to follow.
Assumes
Always be sure to unload via the form rather than the run/pause/stop buttons in VB, and call the routines in the unload and load events
Code Returns
Nothing
Side Effects
You may like it too much. I know I do.
API DeclarationsSee Included Module.