Hi,
I used to run MS Access macros in the following way with a batch file without any problem.
"C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE" "D:\myMSAccess.mdb" /x Macro1
Rather than bat files I'd prefer to have this in VC so I tried the office macro, but without success.
When I run the task, it keeps running, but nothing happens. I saw that in the Windows process MS Access is started, but it doesn't finish (the task also remains on status "Running") even though it should complete in a few seconds.
Any suggestions?
ciao
Luca