> Thank you, guys.
> The error code I found is 0x80040154 (by uninstalling OneNote:)).
> I am from Adapx. You might know our digial pen/paper solution with OneNote.
> Xiao
>
> "John Guin [msft]" wrote:
>
> > Hi Xiao,
> >
> > The error codes the API returns are documented here:
> >
http://msdn.microsoft.com/en-us/library/ms788684.aspx> >
> > If OneNote is not installed, you would get some sort of COM error when you
> > try to instantiate an OneNote instance. Oddly enough, I can't try this
> > myself since I have OneNote installed on every machine I have at hand <g>.
> >
> > Lastly, you may want to check out the schema documentation for the XML as
> > well. I wrote about it here:
> >
http://blogs.msdn.com/johnguin/archive/2008/12/01/reading-the-onenote-schema-documentation-helps-prevent-bugs.aspx> >
> > If I may ask, what are you working on?
> >
> > --
> > I hope some of this helps,
> > John Guin
> > OneNote Test Team
> >
http://blogs.msdn.com/johnguin> >
> >
> > "David" wrote:
> >
> > > Don't have that information to hand, but your best option might be to try
> > > out your code:
> > > [1] on a PC without OneNote installed
> > > [2] against a protected ON object
> > > and capture the error raised.
> > >
> > > Wouldn't you want to do this anyway as part of your testing...?
> > > That way you know how your app will perform under those conditions.
> > >
> > > --
> > >
> > > David Olsen
> > > www.powerbits.com.au
> > >
> > >
> > > "xiao" <xiao[ at ]discussions.microsoft.com> wrote in message
> > > news:4F0BBD27-91FF-4CDD-920F-ED1D0EAB2175[ at ]microsoft.com...
> > > > Hi All,
> > > > Could you tell me the error codes in the following two cases:
> > > > 1. Try to create an ApplicationClass object, but OneNote is not installed
> > > > 2. Try to update a page/section/notebook, but it is protected.
> > > > Thanks.
> > > >
> > >
> > >
> > >