Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: OneNote error codes

Geek News

OneNote error codes
xiao 12/2/2008 12:44:02 AM
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.
Re: OneNote error codes
"David" <david.powerbits[ at ]nogmailspam.com> 12/2/2008 2:58:38 AM
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...
[Quoted Text]
> 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.
>


Re: OneNote error codes
John Guin [msft] 12/3/2008 5:08:01 AM
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:

[Quoted Text]
> 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.
> >
>
>
>
Re: OneNote error codes
xiao 12/3/2008 6:15:02 PM
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:

[Quoted Text]
> 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.
> > >
> >
> >
> >
Re: OneNote error codes
"Rainald Taesler" <taesler[ at ]gmx.de> 12/4/2008 6:30:57 PM
xiao wrote:

[Quoted Text]
> 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.

Thanks for letting us know

Rainald
P.S. Are there any distributors for Adapx in Germany?
Re: OneNote error codes
John Guin [msft] 12/5/2008 6:26:02 AM
Yes, I do know your product. I even have a question for you :)

Is there any way to configure the size of the page which is created when I
sync to NOT be the same size as the page in the notebook I use to write it?
Each time I sync, I wind up with ~ a 5x8 page in OneNote and what I really
want is extra space around my notes so i can keep writing in OneNote.

What I've been doing as a workaround is to change the page size afer sync.
What I really want is a way to have that done during sync.

--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin


"xiao" wrote:

[Quoted Text]
> 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.
> > > >
> > >
> > >
> > >
Re: OneNote error codes
xiao 12/5/2008 9:47:54 PM
Rainald,
We don't have distributors in Germany yet. We do have distributors in
several other European countries.
If you have interests, please contact our sales team:
Phone: 877-232-7903
Email: sales[ at ]adapx.com
They will have a better answer for you.

"Rainald Taesler" wrote:

[Quoted Text]
> xiao wrote:
>
> > 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.
>
> Thanks for letting us know
>
> Rainald
> P.S. Are there any distributors for Adapx in Germany?
>
Re: OneNote error codes
xiao 12/5/2008 9:57:43 PM
John,
The workaround you have is what we would recommend for the current release.
We will fix this issue in the next release.
Best,
Xiao

"John Guin [msft]" wrote:

[Quoted Text]
> Yes, I do know your product. I even have a question for you :)
>
> Is there any way to configure the size of the page which is created when I
> sync to NOT be the same size as the page in the notebook I use to write it?
> Each time I sync, I wind up with ~ a 5x8 page in OneNote and what I really
> want is extra space around my notes so i can keep writing in OneNote.
>
> What I've been doing as a workaround is to change the page size afer sync.
> What I really want is a way to have that done during sync.
>
> --
> Thanks,
> John Guin
> OneNote Test Team
> http://blogs.msdn.com/johnguin
>
>
> "xiao" wrote:
>
> > 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
> >

Re: OneNote error codes
"Rainald Taesler" <taesler[ at ]gmx.de> 12/8/2008 4:44:33 PM
xiao schrieb:

[Quoted Text]
>> P.S. Are there any distributors for Adapx in Germany?
>
> We don't have distributors in Germany yet. We do have distributors
> in several other European countries.
> If you have interests, please contact our sales team:
> Phone: 877-232-7903
> Email: sales[ at ]adapx.com
> They will have a better answer for you.

Thanks for the reply!
I'll contact your sales folks.

Rainald

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net