Programming options missing - InfoPath Dev
in

InfoPath Dev

Programming options missing

Last post 04-13-2011 04:36 AM by Diane.M. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-13-2009 08:19 AM

    Programming options missing

    I am using Infopath 2007 SP1 and have recently lost the ability to access any programming related options. There are no errors but the following items are all gone:

    • Tools menu - Programming
    • The entire section related to code in the Form Options - Programming section (I still have the custom task pane section but nothing below that)
    • The custom code option for controls (like buttons) and the edit code button

    MSE is still present (using ALT SHIFT F11 brings it up), code still runs that is present in existing forms, and I can still edit code or type new code directly into MSE and everything works.

    I have tried enabling "web debugging" with MSE in add/remove. I have also tried a complete office repair (although not an uninstall/reinstall yet). Neither helped. I also noted that Visual Studio Tools for Applications is not enabled in Add/Remove but I don't wish to use managed code - only scripting.

    Any ideas where this issue might be coming from (and possible solutions)? I am investigating if maybe there is some security setting/GPO that would cause this but am not holding out much hope of that.

    Thanks in advance for any ideas.

     

     

  • 03-18-2009 01:25 PM In reply to

    Re: Programming options missing

    For future searchers needing an answer...

    We had a corporate GPO security setting called Custom Code which was disabled. It can also be accessed through a reg key (HKCU\Software\Policies\Microsoft\Office\12.0\InfoPath\Designer\RestrictedFeatures\CodeAllowed). Change the GPO setting (or remove the key) and all works fine.

     

     

  • 04-13-2011 04:36 AM In reply to

    Re: Programming options missing

    Thank you so much for posting this! It saved me lots of trouble.  In my case there was no GPO setting.  I had to change the registry key you mentioned, but it had to be changed under USERS (not Current User)  and the SID associated with the account I needed it for.  Thanks again for sharing!

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.