VB2005 and MS Access 2007

N

Nick

Dear all,

I just recently upgraded to MS Office 2007 from 2003. I have an
application writen in VB 2005 that used MS Access 2003. I used to open
MS Access 2003 with this code:

Dim oAccess As Access.Application
' Start a new instance of Access for Automation:
oAccess = New Access.ApplicationClass()

However, now the "Access.Application" is not recognized anymore. What
is the new syntax for this for MS Access 2007 ?

Thanks,

Nick,
 
Top