Please help. Here is a very simple 4 lines vbs code:
Dim lPath
lPath = "D:\cpj.mdb"
Set WshShell = WScript.CreateObject("WScript.Shell"
WshShell.Run strLocalPath
Why when I double click the vbs file it wouldn't start cpj.mdb in MS Access? It doesn't do anything.
I tried adding Dim WshShell, no effect.
Thanks.
Dim lPath
lPath = "D:\cpj.mdb"
Set WshShell = WScript.CreateObject("WScript.Shell"
WshShell.Run strLocalPath
Why when I double click the vbs file it wouldn't start cpj.mdb in MS Access? It doesn't do anything.
I tried adding Dim WshShell, no effect.
Thanks.