P
peljo via AccessMonster.com
In my command to open the database in another computer called Valja I get a
run time error runtime error 3404 \\Valja\BE\be.mdb is not a valid path
It happens when when I try to open it by the command :
Set db = DBEngine.Workspaces(0).OpenDatabase(VaPath, dbDriverComplete, False,
"; PWD=" & strPassword)
I get the path through the following constant :
Public Const VaPath As String = \\Valja\BE\be.mdb
It is surprising because my Shell command with the same path works without
ptoblems :
Shell """C:\Program Files\WinZip\WZzip.exe"" \\Valia\BE\ArchiveBE\BE" &
Format(Date, "yyyymmdd") & " C:\BE\BE.mdb"
Could you help me find the reason ?
run time error runtime error 3404 \\Valja\BE\be.mdb is not a valid path
It happens when when I try to open it by the command :
Set db = DBEngine.Workspaces(0).OpenDatabase(VaPath, dbDriverComplete, False,
"; PWD=" & strPassword)
I get the path through the following constant :
Public Const VaPath As String = \\Valja\BE\be.mdb
It is surprising because my Shell command with the same path works without
ptoblems :
Shell """C:\Program Files\WinZip\WZzip.exe"" \\Valia\BE\ArchiveBE\BE" &
Format(Date, "yyyymmdd") & " C:\BE\BE.mdb"
Could you help me find the reason ?