Access 2000 runtime/shell/mde??

Dan25
12-11-2001, 08:41 AM
If you are using the Access 2000 Runtime how do you shell to a *.MDE file?

Shell "C:\Program Files\Common Files\Microsoft Shared\Microsoft Access Runtime\msaccess.exe /runtime C:\database\project.mde"

I have tried this a couple different ways but keep getting

"Unrecognized database format 'C:\database\project.mde'."

orufet
12-11-2001, 08:42 AM
You can use the ShellExecute API call, that should work...

Dan25
12-11-2001, 01:49 PM
Thanks that worked, but inside the MDE file is a form when you click The Exit button it closes all the forms etc but the access window is still open and does not exit completely and close...

Anyone know why?

Thanks!

Timbo
12-11-2001, 04:14 PM
i'll hazard a guess that your missing a line of 'Application.Quit' somewhere... images/icons/smile.gif

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum