469,948 Members | 2,911 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,948 developers. It's quick & easy.

Error control when accessing the Registry

Hello all,

Let me start by saying that I'm not certain whether this belongs
here, in this notes group, or another more developmentally
oriented one. I'll try starting here then go elsewhere if you
decide otherwise. (Already forwarded here, sort-of, from:
microsoft.public.windowsnt.registry.)

I'm writing a Visual Basic program which stores and retrieves
data in the registry - no big thing, I've got all that code written
and it works fine. My problem is that I want to build this thing
as bullet-proof as possible.

My question is, does anyone have, or know the location of a
good example of using the "try/catch/finally/end_try" error
manipulation code (preferably related to accessing the registry
which I could pour over to get an idea of how to beef up the
stability of my code? (I've read all the stuff that I have been
able to find on "try/etc." and also on "error exemptions" but
none of them have any good examples or anything which could
easily be adapted.

Any help or pointers appreciated.

David
Jan 15 '08 #1
1 1431
On Jan 15, 9:35 am, "David Schrader" <schra...@ucs.fsu.eduwrote:
Hello all,

Let me start by saying that I'm not certain whether this belongs
here, in this notes group, or another more developmentally
oriented one. I'll try starting here then go elsewhere if you
decide otherwise. (Already forwarded here, sort-of, from:
microsoft.public.windowsnt.registry.)

I'm writing a Visual Basic program which stores and retrieves
data in the registry - no big thing, I've got all that code written
and it works fine. My problem is that I want to build this thing
as bullet-proof as possible.

My question is, does anyone have, or know the location of a
good example of using the "try/catch/finally/end_try" error
manipulation code (preferably related to accessing the registry
which I could pour over to get an idea of how to beef up the
stability of my code? (I've read all the stuff that I have been
able to find on "try/etc." and also on "error exemptions" but
none of them have any good examples or anything which could
easily be adapted.

Any help or pointers appreciated.

David
My question is:

What do you want to do if there is an error accessing the registry?

Thanks,

Seth Rowe [MVP]
Jan 15 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Manitoba98 | last post: by
6 posts views Thread by Peter Frost | last post: by
2 posts views Thread by Ramesh | last post: by
2 posts views Thread by Chakkaradeep | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.