I am using the usual front-end/back-end structure in an application and do not wish my users to access the front end database by opening it in Windows Explorer.
So,
I have disabled the menu bar, Database Manger and Shift Key, created an .mde etc and made this open with a Form carrying a warning that this database can only be accessed via xxxx.mde, which is the back-end.
That serves my purpose but I would ideally like a piece of code which automatically closes the front-end and opens the back-end, so the back-end opens whichever one the user tries.
From all the code I have seen in various tek-tips forums I am sure nothing is impossible but I have tried in vain to find this particular issue. Using the title above I get a nil return on any search - but I am sure someone, somewhere must have done this and covered it in a forum.
Any ideas or pointers would be most welcome.
So,
I have disabled the menu bar, Database Manger and Shift Key, created an .mde etc and made this open with a Form carrying a warning that this database can only be accessed via xxxx.mde, which is the back-end.
That serves my purpose but I would ideally like a piece of code which automatically closes the front-end and opens the back-end, so the back-end opens whichever one the user tries.
From all the code I have seen in various tek-tips forums I am sure nothing is impossible but I have tried in vain to find this particular issue. Using the title above I get a nil return on any search - but I am sure someone, somewhere must have done this and covered it in a forum.
Any ideas or pointers would be most welcome.