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

Compile On Demand

P: n/a
Does anyone know how to programmatically turn off the Compile On
Demand option? I'm looking to distribute an ADP with this option
disabled, but can't find it in Application.SetOption or the registry.
Thoughts?

Thanks!
Sep 23 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
There's no option to set in vba but the user could change the registry
setting with a script if he/she has sufficient permissions to run scripts and
make registry changes.

HKEY_CURRENT_USER\Software\Microsoft\VBA\6.0\Commo n

CompileOnDemand, DWORD (0 = Unchecked, 1 = Checked)

Chris
Microsoft MVP
pa**************@gmail.com wrote:
>Does anyone know how to programmatically turn off the Compile On
Demand option? I'm looking to distribute an ADP with this option
disabled, but can't find it in Application.SetOption or the registry.
--
Message posted via http://www.accessmonster.com

Sep 23 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.