Results 1 to 4 of 4

Thread: Tutorials and Tips

Threaded View

  1. #1

    Thread Starter
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188

    Tutorials and Tips

    I'm hoping people will add to this and that the thread will stay at the top as John said.

    Here for all to see is my tutorial on storing Images in an Access Database. Last time i'm posting it.

    Also here's the link to the latest VB Service Pack it's big so only get it if really needed and you have a good connection.

    SP5

    Also i've started an FAQ with links to posts for answers.
    PM me to have an FAQ included or answered.

    Ciao
    Beacon

    DATABASE - Quick Tips\FAQ

    General

    Q) How can i show a progress bar when retrieving records from a database?
    A) This is using an ADODB Recordset(RS) and a progress bar(pb1).
    VB Code:
    1. Dim intRecCount As Long
    2.     Dim intCounter As Long
    3.  
    4. RS.MoveLast
    5. intRecCount = RS.RecordCount
    6. pb1.Max = intRecCount
    7. RS.MoveFirst
    8.  
    9. For intCounter = 1 To intRecCount
    10. 'add stuff to fill any other controls like list views, boxes or grids  
    11.     pb1.Value = intCounter
    12.  
    13. RS.MoveNext
    14.  
    15. Next intCounter

    Q) Where can i learn ADO?
    A) Either Here Or www.vb-world.com

    VB & Access

    Q) Why does the size of my Access Database increase even when i'm deleting records?
    A) Click Here


    edit: The attachment below is now also available as a thread in the FAQ, here.
    Attached Files Attached Files
    Last edited by si_the_geek; May 2nd, 2006 at 02:47 PM. Reason: added link to thread version of tutorial

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