+ Reply to Thread
Results 1 to 2 of 2

Thread: hour glass in vb.net

  1. #1
    newdbo is offline VB.NET Forum Newbie newdbo is on a distinguished programming path ahead
    .NET Framework
    .NET 1.1 (VS 2003)
    Join Date
    Aug 2009
    Posts
    25
    Reputation
    14

    Question hour glass in vb.net

    Hi all, when i try to insert data from database into dataset using data adapter, it takes long time, i want to use hourglass but i'm confused how or when i type the code so user will know that application still work. any advise appreciated.

  2. #2
    Hack's Avatar
    Hack is offline VB.NET Forum Master Hack probably authored a book by now Hack probably authored a book by now
    .NET Framework
    .NET 3.0 (VS 2005/2008)
    Join Date
    Apr 2009
    Location
    Sterling Heights, MI
    Age
    60
    Posts
    335
    Reputation
    55

    Default

    Did you try
    Code:
    Me.Cursor = Cursors.WaitCursor 
    'your insert code goes here
    Me.Cursor = Cursors.Default
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Good Article: Language Enhancements In VS 2010
    Microsoft MVP 2005/2006/2007/2008/2009/2010

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

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