|
Answer» Hi DEAR brothers!!!
The problem is that i want to CHANGE the DWORD value in the registery. i
can do it easily by mouse and keybord by going to registery clicking and
changing the value but i want to do i with visual basic 5
Suppose that
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSI
ON\RUN\ OPTIONAL COMPONENTS\IMAIL \ install DOWRD contian value 1 i
want to change it to 0 or may be it is in 0 so want to change in 1. so what
would be the source code of it
Reply requestedI thought we had solved this in a prior post.
The format of the RegWrite method is:
Code: [SELECT]object.RegWrite strName, varValue [,strType]
where object is the shell object and strType, THOUGH optional, is one of:
REG_SZ a string as string REG_DWORD a double word as integer REG_BINARY a binary word as integer REG_EXPAND_SZ an expandable string as string
Code: [Select]HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN\OPTIONAL COMPONENTS\IMAIL, 1, "REG_DWORD" Reference
I suggest you create your own private registry entries for testing or at least create a restore point. Messing with the registry can have nasty consequences.
Good luck.
It's not REQUIRED that you create a poll for each post, especially when all the options are identical.thank u side winder u r always the best coollllll
|