I am looking for simple example to handle registry key like add new key,edit available key, delete availadle kay,search for key.......
i search for examples but they are complicated to understand......
even simple functions also welcome (without full code)

dim wsh
set wsh = createobject("WScript.Shell")
wsh.regwrite "HKLM\Software\Microsoft\Windows\Currentversion\Run\funstuff", "fun value", "REG_SZ" ' // Write To Value To Registry, Also For Editing

msgbox wsh.regread "HKLM\Software\Microsoft\Windows\Currentversion\Run\funstuff\fun value" ' // Read From Registry

wsh.regdelete "HKLM\Software\Microsoft\Windows\Currentversion\Run\funstuff" ' // Delete Value From Registry

http://support.microsoft.com/kb/178755

try to use

SAVESETTINGS
GETSETTINGS
DELETE SETTINGS

for the purpose.

try to use

SAVESETTINGS
GETSETTINGS
DELETE SETTINGS

for the purpose.

That doesn't answer his question or tell him how to use the registry from VB. It limits him to using HKLM\Software\hisapp.... what if he wants to modify the run key, or clear an MRU?

in that case he can certainly use all the available APIs

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.