Results 1 to 2 of 2

Thread: Access via VB6

  1. #1

    Thread Starter
    Hyperactive Member rockies1's Avatar
    Join Date
    Jul 1999
    Location
    Stuck at work
    Posts
    375

    Post

    I am trying to add data to an Access .mdb via VB6. I know how to do it, no problem, but I don't like the fact that Access shows on the taskbar. Is there any way to avoid this?

    I tried:
    Code:
    Dim objAccess as New Access.Application
    Dim db as Database
    Dim qdf as QueryDef
    Dim rst as Recordset
    
    With objAccess
      .OpenCurrentDatabase App.Path & "\DatabaseName.mdb"
      .Visible = False
    End With
    but I still see Access...

    Anyone have any suggestions? (Simple suggestions preferred...I'm not exactly a beginner, but by no means an expert!!)

    Thanks!

    ------------------
    Morgan
    [email protected]
    My Web Page

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Look into using DAO (or ADO, which is the future direction MS wants us to take).

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