DBName is a list box, with the record source being a table containing the database name (column 0), location (column 1), description (column 2), path (column 3), and MDW file (column 4).
If you double-click a database in the list box, the database opens up. If the "Path" column is "c:", it first places a new copy of the front end on the local computer.
The "Menu" database stays open, so another copy of Access is loaded with the new database.
Hopefully, this makes sense - if you want, I could email you a copy of the database so you could see how it works.
Private Sub DBName_DblClick(Cancel As Integer)
On Error GoTo ErrHandler
Dim sp As String
sp = Chr(34)
If [DBName].Column(3) = "C:" Then
FileCopy [DBName].Column(1) + "\" + [DBName].Column(0), "C:\" + [DBName].Column(0)
End If
Dim stAppName As String
stAppName = "msaccess.exe " + sp + [DBName].Column(3) + "\" + [DBName].Column(0) + sp + "/WRKGRP " + sp + [DBName].Column(4) + sp
Call Shell(stAppName, 1)
Exit Sub
ErrHandler:
MsgBox (Err.Description)
Resume Next
End Sub