Click to See Complete Forum and Search --> : Registery


dafabe
August 2nd, 2001, 09:04 AM
I need the code too write the the registery,

is there a reg object or something

can anyone help
thanx in advance

-DAVE

Ghost308
August 2nd, 2001, 09:09 AM
This was posted by Iouri and in my opinion it is beautiful. Give Iouri many a point for this stuff!

http://www.codeguru.com/cgi-bin/bbs/wt/showpost.pl?Board=vb&Number=55521

Clearcode
August 2nd, 2001, 09:34 AM
As for an object that reads/writes to the registry...there is this:
http://www.merrioncomputing.com/EventVB/ApiRegKey.html

which allows you to use the more reasonable synatx:

'...snippet of larger code...
Dim rkThis as ApiRegKey

for Each rkThis In baseKey.SubKeys
If rkThis.Name = "temporary" then
'\\ delete that key...
End If
next rkThis




HTH,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.