|
-
Aug 29th, 1999, 06:42 PM
#1
Thread Starter
Hyperactive Member
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
-
Aug 29th, 1999, 07:19 PM
#2
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|