-
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
-
Look into using DAO (or ADO, which is the future direction MS wants us to take).