When I use the mousepointer = vbHourGlass or VBDefault functions I get an error: "Object or library not found".
Please help. How can I fix this?
(Visual Basic 6)
Printable View
When I use the mousepointer = vbHourGlass or VBDefault functions I get an error: "Object or library not found".
Please help. How can I fix this?
(Visual Basic 6)
Hi
Try this
VB Code:
Property Let Mouse(ByVal mPointer As MousePointerConstants) Screen.MousePointer = mPointer End Property Property Get Mouse() As MousePointerConstants Mouse = Screen.MousePointer End Property Public Sub MouseBusy() Screen.MousePointer = vbHourglass End Sub Public Sub MouseNormal() Screen.MousePointer = vbDefault End Sub
Hope this helps...
how are you setting the mousepointer = vbHourGlass or VBDefault, is it a form's mouse pointer or an objects or screen's...could you post your code for this...
Also you can check out this site for better cursor management
http://lutrov.com/blog/150/
Hope this helps...