This project is read-only.

Beginners Bits and Pieces

May 22, 2008 at 10:03 AM
I stumbled across ONOM after scouring all of the blogs trying to code things for onenote. As a VB.Net developer I converted most of the samples from c# and got a basic addon working.

I started playing with ONOM yesterday and thought I'd document what I found as it may help others.

Firstly I downloaded the zip of the source code and went straight to the new folder and loaded up with VS 2008 project. I built the solution to get the core libraries and the xml viewer.

Once they were built I created a new project and added file references to: onenotecode.dll and onenoteframework.dll and then started hunting around within the xml viewer sample to try and figure out how things worked.

First test and bit of code:





Class Form1



Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click



Dim nb As OneNoteNotebook



For Each nb In OneNoteHierarchy.Current.Notebooks



"Notebooks - " & nb.Name)






End Sub





This itterated through the current open notebooks. :)

As I work through the functionality I'll try and produce some class documentation.


Oct 11, 2008 at 5:03 PM
Excellent!  I know it's been awhile since you posted this, but I'd love to see the next phase of your work...