P
Peter Hibbs
Access 2000/2003
While developing a database I leave the various tick boxes in the
StartUp form enabled so that I have all menus, etc active. Each time I
deploy the .mde database file to the customer I disable some options,
primarily 'Allow Full Menus' and 'Allow Toolbar/Menu Changes' (if I
remember to).
What I would like to do is disable the menu options automatically when
the program starts if the file type is .mde and leave them enabled if
the file type is .mdb.
I found some code at :-
http://msdn2.microsoft.com/en-us/library/aa200349
which toggles the StartUp tick boxes correctly, the problem is that
the changes do not take effect until the next time the database is
used so for the first time they run the .mde file, the menus are
active. Is there any way to disable the menu options with code and
have the changes effective immediately.
Peter Hibbs.
While developing a database I leave the various tick boxes in the
StartUp form enabled so that I have all menus, etc active. Each time I
deploy the .mde database file to the customer I disable some options,
primarily 'Allow Full Menus' and 'Allow Toolbar/Menu Changes' (if I
remember to).
What I would like to do is disable the menu options automatically when
the program starts if the file type is .mde and leave them enabled if
the file type is .mdb.
I found some code at :-
http://msdn2.microsoft.com/en-us/library/aa200349
which toggles the StartUp tick boxes correctly, the problem is that
the changes do not take effect until the next time the database is
used so for the first time they run the .mde file, the menus are
active. Is there any way to disable the menu options with code and
have the changes effective immediately.
Peter Hibbs.