You need to open the remote database as an object.
Dim objAcc As Access.Application
Dim extDB As DAO.Database
Set objAcc = GetObject(strRemoteDB_FileName)
Set extDB = objAcc.CurrentDb
From there, you can do anything you need to do in extDB (the "remote"
database) as if it was the local database. Just remember to preface
your commands with "extDB." or "objAcc." (depending upon what level you
need to operate at) so Access doesn't try to do it in the local DB.
objAcc.DoCmd.DeleteObject <whatever>
or
extDB.Execute <SQL string>,dbFailOnError
As always, remember to close and set to nothing your objects.
Oh, and a warning... Remember to make a _copy_ of the remote database
before doing anything to it! This will give you a chance to abort
whatever you are doing if (when!) something unexpected happens (and
experience says: it will.)