Stupid, stupid, stupid me!
Of cause - should have thought of that - using Shell and the RegEdit
isself as a shortcut
Thanks, Garry .-)
Not stupid at all! I originally thought you'd need to enum subkeys
recursively and build a file string of keys, subkeys, and values as you
go. But then I thought there has to be a simpler way, and so I googled.
I wasn't aware of the command line switches regedit.exe exposes and so
was quite pleased to find the sample. It's really 'clean', IMO. I don't
use the Registry at all for my apps because I've configured them to be
fully portable so they can run from a memstick. Thus, I use ini/dat
files to store settings and other data. I do have (and did use
extensively) a similar wrapper (mRegistryAPI.bas) as what I posted the
link for, but I seldom use it anymore.<g> I have updated it, though, to
include these export/import procedures...
--
Garry
Free usenet access at
http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion