I'm a beginner at all of this. Please be patient with me.

I'm currently working on a project where I'm trying to launch MS Access and open a form (in MS Access) by clicking a button in ArcView (8.x).

I'm trying to do this by using the VB editor included in ArcView.

I found the following code posted on dBforums, however, it was written in VB6. Should it work if I cut and paste this code into the VB editor in ArcView.

I have done this and the following message comes up when I click run:

"MS Access can't open the database because it is missing, or opened exclussively by another user."

The code I was trying is as follows:

Set objAccess = CreateObject("Access.Application")
objAccess.OpenAccessProject filePath:="Tree_db.mdb"
objAccess.DoCmd.OpenForm "Tree_Selection", acNormal

Kind Regards,