Results 1 to 4 of 4

Thread: Change cursor

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    barcelona
    Posts
    8

    Change cursor

    I’ve a VB.Net application that doesn’t show any form, and I want to change the cursor during the execution. I’m trying with:
    Code:
    Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
    This code works with form applications but not in this case . Any ideas??

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Try this :
    VB Code:
    1. Me.Cursor = System.Windows.Forms.Cursors.WaitCursor

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    barcelona
    Posts
    8
    But the application starts in a Module and Me is not valid within a Module

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It doesn't seem to work But you I believe you still can do it with ClipCursor API . I have a demo in VB6 , let me know if you want it (you can translate it to work with .NET ) .

Posting Permissions

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



Click Here to Expand Forum to Full Width