Ask a questionAsk a question
 

General DiscussionVSTO excel document - buttons not enabled

  • Tuesday, November 03, 2009 5:46 PMdotnetnewbie1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I have a VSTO excel document which was working fine.  Recently, admin rights were removed on my PC.  I had both VSTO 2 and 3 installed on my pc(VSTO document was developed in VS2008 sp1).  The document opens ok, no errors but none of the buttons are enabled (cannot click).

    Would appreciate if any VSTO experts out there can suggest on how to go about debugging what is going wrong?

    To summarize:
     - document opens w/out error
     - document is deployed on a network drive
     - document permissions are fine
     - Problems are:
       - windows forms objects(buttons, checkbox) are not clickable

All Replies

  • Thursday, November 05, 2009 9:30 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    <<I had both VSTO 2 and 3 installed on my pc(VSTO document was developed in VS2008 sp1). >>
    Based on my understanding, on your machine, there are Office 2003, Office 2007, VS 2005 and VS 2008.

    I guess you are working with VSTO 3.0 Excel Workbook project, and publish this project to internet by using ClickOnce. For test, I add a new item (Ribbon Designer) and add a button to group on Ribbon form tool box. In my side, it works fine. Now, I cannot ensure if it is cause by administrator right.

    I think you could run this project on debug mode, and see if buttons of this Excel Workbook is enabling. Check if this scenario only appears when open this excel workbook on the internet. 

    If I have mistaken this scenario, would you please tell us more information?
    1. This type of this project, Excel Workbook 2007 project?  VSTO 3.0?
    2. The deployment of this project, ClickOnce or Windows Installer?
    3. Do you mean the custom buttons of Ribbon?

    Best regards,
    Bessie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Wednesday, November 11, 2009 9:59 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     


    We are changing the issue type to "General Discussion" because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to "Question" by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.