次の方法で共有


Source code for the OneNote Table Sorter and Table of Contents powertoy

Odd - I normally blog on Monday and Thursday. I looked back at the last few weeks and between vacations, holidays here in the USA and other whatnot, it has been a long while since I posted anything.

One thing I noticed last year is that I never posted the code to the Table of Contents and Table Sorter powertoy. I got a few requests for this over the past month and figured I better get it put up here before I completely lose track. So here you go.

Enjoy!

Questions, comments, concerns and criticisms always welcome,

John

TOC Power Toy 2010 - Sources.zip

Comments

  • Anonymous
    January 23, 2012
    Thanks, not that I'd know where to start with sourcecode but thank you anyway for taking the time. Always look forward to reading what new cool stuff you've found with OneNote when i see a new post in RSS. Ben

  • Anonymous
    March 01, 2012
    John, I first installed the ToC powertoy on a Win7 PC with OneNote 2007 and 2010.  The ToC toolbar addon didn't appear.  I then remove 2010 and 07 and the ToC addin, then i did a clean install of 2010 and the ToC addin and still no ToC addin on the Insert bar. I may be missing the obvious but, Any thoughts? Thanks in advance, Gene

  • Anonymous
    March 01, 2012
    Hmm.  I never tested with OneNote 2007 and 2010 installed together.  Are you an admin on the machine, and how did you uninstall 2007 and 2010?

  • Anonymous
    March 01, 2012
    The comment has been removed

  • Anonymous
    March 01, 2012
    Sorry, I am an admin on the machine and I used appwiz to remove 07 and 10. Cheers,

  • Anonymous
    March 01, 2012
    Visio and Office 2007 Pro should not matter here. Here's what I do when setup fails.

  1. Exit OneNote completely
  2. Uninstall the powertoy
  3. Reboot (literally.  this kills dllhost)
  4. repair OneNote 2010 install
  5. reboot again (I'm being overly cautious here)
  6. Now run the setup again. Does this work for you?
  • Anonymous
    March 01, 2012
    Unfortunately, no.  Rebooted as suggested, even after ToC install??? Maybe some possible contributors for ToC not working:
  1.  ToC installation dir: C:Program FilesMicrosoftOneNote Table of Contents      OneNote install dir: C:Program Files (x86)Microsoft OfficeOffice14
  2.   OneNote ToC install file: OneNoteTOCSetup.msi - 4/26/2011 - 602 KB Are the any reg Keys I could look for or change???
  • Anonymous
    March 01, 2012
    Maybe something or maybe not but,, OneNote 2010 - Trial Version....  2007 was purchased version.

  • Anonymous
    March 01, 2012
    If you click File | Help, does it show OneNote is a "Click to Run" version?

  • Anonymous
    March 01, 2012
    In File | Help I don't see a "Click to Run" The version is: 14.0.6023.1000 (32-bit).   Should I be using the x86 setup, even though the Win7 is 64?

  • Anonymous
    March 01, 2012
    Yes, please try the 32 bit setup.

  • Anonymous
    March 01, 2012
    Yea!!!   The 32 bit version (ToC) works. There are some interesting issues.  One, the ToC isn't getting Section Groups and... Two... I've got four notebooks, in three I can create ToCs but in the fourth I get an Error pop-up.   Expand/Collapse Pages... 0x2005: Page does not exist? Sorry to bring it up but, the notebook erroring is the most needed book.

  • Anonymous
    March 01, 2012
    Where is the 4th notebook stored?  Are there any sync errors with it?

  • Anonymous
    June 09, 2013
    It would be great if you have an update for OneNote 2013. In the moment its not running with your version.