Adding reference just once

04-16-2004, 12:44 PM
I have one problem developing system in VB. I'm connecting to database thru

oConn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=H:\POPS\server\POPS.mdb;" & _
"Uid=;" & _

but everytime I run this file I have to add reference to from the project menu to MS Access object Library and MS activex library. Is there any way I can just hardcode these references so that I don't have to worry about adding them again? Please let me know
Thanks a Bunch

04-16-2004, 02:05 PM
Use the Microsoft Jet provider instead. Providers of all kinds can be found at

Anyway, you only have to reference something once in a VB project, as long as you save the .vbp before closing out VB.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum