Welcome to MSDN Blogs Sign in | Join | Help

Sort Sections powertoy

How could we have guessed that people had so many sections that they would want to organize them with just a click of a button? With that being said I finally finished up my sort sections powertoy. Pretty much I took the same code for the sort pages and changed it to work for sections, it was pretty easy. I had a harder time with Visual Studio & getting my setup project to work correctly (oh and the icon that was a pain too).

Before

After

 

Steps:

  1. Make sure you have OneNote 2007 Installed & the Microsoft .Net Framework 2.0
  2. Download the file from here: OneNote2007SortSections.zip
  3. Install
  4. Close and restart OneNote
  5. Click on the new button you have:

 

Now you are all set!

CAUTION: I didn't do any real testing other than a quick sanity tests, buyer beware! Oh and if you try it with a blank notebook you will just get a bunch of errors.

If you have problems/questions please let me know, otherwise I hope this helps you all out.

Published Saturday, March 03, 2007 12:05 AM by descapa

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Sort Sections powertoy

Thank you very much for this Powertoy, Daniel. It's just what we were looking for. Works very well on our Notebooks.

Saturday, March 03, 2007 4:49 AM by John Waller

# re: Sort Sections powertoy

Any chance of you posting the code for this and the sort pages powertoy ?

Saturday, March 03, 2007 7:03 AM by James Bolt

# re: Sort Sections powertoy

Hi, nice powertoy. I've experienced a little problem though. Section groups are ignored and all the sections in those groups get moved to the highest level.

Now where's my backup... :-)

Sunday, March 04, 2007 11:27 AM by Marc Vangrieken

# re: Sort Sections powertoy

James - I need to release it soon, please give me a week or so and I will post it all.

Marc - You can always find backups by choosing File-->Open Backup but I would recommend that you just move the sections back into the section group.  Like I said I didn't do much testing with this and I think I know what the problem is.  I will try and address it in the near future, but my time is short right now : )  

Again my apologies

Monday, March 05, 2007 4:46 AM by descapa

# re: Sort Sections powertoy

Daniel, no problem at all... I restored the section groups by hand this morning.

Monday, March 05, 2007 5:17 AM by Marc Vangrieken

# re: Sort Sections powertoy

Is there a sort pages power toy available?

Wednesday, March 14, 2007 1:51 PM by Tony Cerniglia

# re: Sort Sections powertoy

Tony - Sort pages can be found here:

http://blogs.msdn.com/descapa/archive/2007/02/17/sort-pages-powertoy.aspx

Hope this helps!

Wednesday, March 14, 2007 2:08 PM by descapa

# re: Sort Sections powertoy

Descapa,

Is there any way you can release the source code for this?  I'm working on creating my own powertoy and am having trouble installing it.  I would greatly appreciate it if I could look at your code to see how it is installed.  Thanks!

Friday, June 01, 2007 4:00 PM by Jamey Brumsey

# re: Sort Sections powertoy

Descapa,

I have tried to install both program for sorting pages and sections in onenote, but did not work for either of them. I have the sort buttons for both of them, but when i click on them, they did not work.

What did i do wrong?

I would appreciate if you can help me with this issue.

My email is kchhea@tpg.com.au

Thanks again.

Wednesday, June 13, 2007 7:51 PM by Khouth Chhea

# re: Sort Sections powertoy

Khouth - Are you using Vista?  Do you have UAC/LUA disabled?  Regardless please uninstall the tools and reinstall them and choose to install for "all users", this has helped many users with this problem.  Good luck!

Saturday, June 16, 2007 5:53 AM by descapa

# re: Sort Sections powertoy

Tried to install for All users and Just me, but in both cases the result was an error message:

"Could not UpdateHierachy" (misspelled Hierarchy!) "from OneNote. Error Code: The remote procedure call failed. (Exception from HRESULT:0x800706BE)

Monday, July 09, 2007 4:53 AM by Pavel Calda

# re: Sort Sections powertoy

Were you doing this on a password protected section?  Any other details?  

That error code is not one that is generated by OneNote so it must be a COM error.

Tuesday, July 10, 2007 2:42 PM by descapa

# re: Sort Sections powertoy

After running installation, which seems to be successful, there is not any button to sort the sections. Also, there is nothing listed in the add-in list.

Wednesday, July 18, 2007 5:15 PM by Hector C.

# re: Sort Sections powertoy

I loaded sort pages successfully but sort sections isn't working. The icon doesn't show up after following the instructions.

Saturday, August 04, 2007 2:01 PM by Michael Morad-McCoy

# Summer OneNote 2007 news round-up

It's getting hard to keep blogging about OneNote in detail now that I am no longer on the team, but I

Monday, August 13, 2007 1:46 AM by Chris Pratley's OneNote Blog

# Sort Sections and Sort Pages powertoy

Hi, I was very interested in what seemed to be an ideal extension.  I have installed both the Powertoys, but the 2 icons are greyed out and do not do the sorting when clicked.  Any ideas, tried 4 re-installations but no joy. Mike

Tuesday, December 18, 2007 4:50 PM by Mike Staveley

# re: Sort Sections powertoy

Seems that you can't have the page and sections sorters installed at the same time.  I installed the sections one first and worked fine.  When I tried the pages, it just does not show up in my plug-in list.  A co-worker did the same in the opposite order.  He got the same results.

I'm running Vista with UAC disabled, installed for 'all users'.  

Anyone else get both of them to work at the same time?

Friday, January 18, 2008 7:49 AM by Chad Gronbach

# OneNote Powertoys from the PM team, and a one question survey about them

A few astute readers pointed out I (intentionally) missed a few addins the OneNote team finished last

Friday, January 18, 2008 10:26 AM by OneNote Testing

# re: Sort Sections powertoy

Is it possible to sort notebooks with 1,2,3 rather than 1, 10, 11 ?

Monday, January 28, 2008 6:01 PM by Pete

# OneNote PowerToys

If you don't know I am a HUGE OneNote fan and have converted countless people from using Notepad

Sunday, March 30, 2008 6:41 PM by The Daily Ramblings of an SMS Engineer

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker