Windows Registry Syntax

Howdy,

I recently got my hands on a copy of SW2009 (liking it so far :D ).So I wanted to try to update my method for accessing the WindowsRegistry. I can tell that I need to add the reference to theVBATools library which contains the RegistryTools class, but, can'tseem to figure out the syntax for using the listed functions(CreateSectionKey, ReadKey, WriteKey, etc.).

I've attached an example of the existing method that requires themodule written by Kenneth Ives. It still seems to work fine, but, Iwanted to take advantage of the SW2009 API update.

Can anyone update my example or direct me to a "simple" examplethat demonstrates the syntax for use in SW2009?

ThanksSolidworksApi macros