Need Help w/ ADO

byrne1
01-12-2001, 01:17 PM
The following code is causing my app to error out w/ "ActiveX Cannot Create Object" and I have no idea why:

Set cnStockMargin = New ADODB.Connection
cnStockMargin.Provider = "Microsoft.Jet.OLEDB.3.51"
cnStockMargin.Open "v:\apps\stock\stock margin.mdb", "admin", ""

I am using VB 6.0 sp4. Any help would be greatly appreciated.

byrne1
01-12-2001, 02:55 PM
Well, I installed MS Universal Data Access Tools, which got me past the ActiveX error, but now I'm getting another error. Something about the provider not being present. What's up w/ that???

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum