I am working on an update program to keep my database front ends updated on the users computer. This program looks at the server, and compares 2 files, then copys the server file to the users computer if update is needed.
Finally, the program opens the database file.
The program works great up to the point of opening the database front end file- it only happens some of the time. My code for this:
I have spent soem time searching this forum for the answer, but can't make heads or tails of it all. I have tried changing it to, but Access wouldn't open the MDE correctly:
Any ideas why these solutions don't work or only work some of the time?
Thnaks
"God is a comedian playing to an audience too afraid to laugh."
-- Francois Marie Arouet (Voltaire)
Finally, the program opens the database file.
The program works great up to the point of opening the database front end file- it only happens some of the time. My code for this:
Code:
Process p = Runtime.getRuntime().exec("cmd /c start C:/dbfe/po_fe.mde");
I have spent soem time searching this forum for the answer, but can't make heads or tails of it all. I have tried changing it to, but Access wouldn't open the MDE correctly:
Code:
Process p = Runtime.getRuntime().exec("c:/program files/microsoft office/office11/msaccess.exe C:/dbfe/po_fe.mde");
Any ideas why these solutions don't work or only work some of the time?
Thnaks
"God is a comedian playing to an audience too afraid to laugh."
-- Francois Marie Arouet (Voltaire)