Results 1 to 7 of 7

Thread: CursorDriver

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    CursorDriver

    Does VB.NET have an equivilant to the CursorDriver that is in VB 6.0. I copied this code from a VB 6 app.

    VB Code:
    1. With grdoSybase
    2.       .Connect = "DSN=SBPROD;UID=" & logon & ";PWD=" & LCase(txtPassword)
    3.       .CursorDriver = rdUseIfNeeded
    4.       .QueryTimeout = 120
    5.       .EstablishConnection rdDriverNoPrompt
    6.    End With

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    What type of object is grdoSybase, in your example?

    If you just want to show the Wait cursor and such then you can do it like so:
    VB Code:
    1. Me.Cursor = Cursors.WaitCursor
    2. 'connect code here
    3. Me.Cursor = Cursors.Default

  3. #3
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234
    I think that's about database cursor, not cursor pointer(icon). Since question is about Sybase I don't know answer.

    regards

  4. #4

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    yes, it is a database cursor....here's the link with the prob I'm having...

    http://www.vbforums.com/showthread.p...hreadid=238478

  5. #5
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    So what are you using as your DataProvider? Oledb? Odbc?

  6. #6

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    ODBC

  7. #7
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    The ODBC connection object has a driver property but I'm not sure that is what it does. Or can this be set in your DSN? Or in the ConnectionString?

    Try these:
    http://www.experts-exchange.com/Prog..._20385132.html

    http://www.codeproject.com/useritems...asp?print=true

    http://www.developersdex.com/gurus/code/260.asp
    Last edited by Edneeis; Apr 1st, 2003 at 01:53 PM.

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