Mousepointer = vbhourglass - ERROR-VBForums
Results 1 to 4 of 4

Thread: Mousepointer = vbhourglass - ERROR

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    51

    Question Mousepointer = vbhourglass - ERROR

    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)
    Last edited by peet1909; Jan 11th, 2007 at 05:24 AM. Reason: none

  2. #2
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Re: Mousepointer = vbhourglass - ERROR

    Hi

    Try this

    VB Code:
    1. Property Let Mouse(ByVal mPointer As MousePointerConstants)
    2.     Screen.MousePointer = mPointer
    3. End Property
    4.  
    5. Property Get Mouse() As MousePointerConstants
    6.     Mouse = Screen.MousePointer
    7. End Property
    8.  
    9. Public Sub MouseBusy()
    10.     Screen.MousePointer = vbHourglass
    11. End Sub
    12.  
    13. Public Sub MouseNormal()
    14.     Screen.MousePointer = vbDefault
    15. End Sub

    Hope this helps...
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  3. #3
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Mousepointer = vbhourglass - ERROR

    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...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
    http://ganeshmoorthymc.com

  4. #4
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Re: Mousepointer = vbhourglass - ERROR

    Also you can check out this site for better cursor management

    http://lutrov.com/blog/150/

    Hope this helps...
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.