The version check occurs in the main program, and an auto update mdb is run.
In this mdb, to run the new version of the database that has been replaced, the shell command is used. this is the code:-
The code above seems to work, (adding the chr(34)s)... however, i also need to add the workgroup and user pass to the strcmd variable, i've tried various ways, but cannot seem to get it just right.strcmd = "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE " & Chr(34) & "C:\Documents and Settings\All Users\DL-Special.mdb" & Chr(34)
'strcmd = strcmd + " /wrkgrp S:\Document Library\SYSTEM.mdw"
'strcmd = strcmd + " /user AUser /pwd Whatever"
Call Shell(strcmd, vbNormalFocus)
DoEvents: DoEvents: DoEvents