By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,968 Members | 1,295 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,968 IT Pros & Developers. It's quick & easy.

Programmatically unchecking Show Hidden Objects at DB-launch

P: n/a
To simplify the user interface and to protect code I have unchecked the
Tools|Options|View|Show Hidden objects.
However, if a user selects displaying the hidden objects, I would like to
reset this option by code at next database launch to not display the hidden
objects.
Would it be possible to do this setting by some auto executed (VBA) code at
database launch?

Best regards
Niels
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Niels Knabe wrote in message
<43*********************@dread11.news.tele.dk> :
To simplify the user interface and to protect code I have unchecked the
Tools|Options|View|Show Hidden objects.
However, if a user selects displaying the hidden objects, I would like to
reset this option by code at next database launch to not display the hidden
objects.
Would it be possible to do this setting by some auto executed (VBA) code at
database launch?

Best regards
Niels


You should be able to do that utilizing the GetOption and SetOption
methods
in your startup code. Watch for linebreaks in the link

http://msdn.microsoft.com/library/de...HV05188062.asp

--
Roy-Vidar

Nov 13 '05 #2

P: n/a
Thanks! Just what I've searching.

Best regards
Niels
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.