Caesar-man
asked on
Writing to registry
Hi All,
I would like to know how can i write to the registry
to this direction:
HKEY_CURRENT_USER\Software \Microsoft \Internet Explorer\PageSetup\margin_ top .
i would like to change it.
if anyone can show me an example that doing that, it will be greate.
and another thing i have notice that if i am changing
the margin from the explorer, for example puting 19.05,
in the registry it will be 0.75000.
so what i am asking is how does it happen ?
Thanks & Regards.
I would like to know how can i write to the registry
to this direction:
HKEY_CURRENT_USER\Software
i would like to change it.
if anyone can show me an example that doing that, it will be greate.
and another thing i have notice that if i am changing
the margin from the explorer, for example puting 19.05,
in the registry it will be 0.75000.
so what i am asking is how does it happen ?
Thanks & Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dim objWSHShell As Object
Set objWSHShell = CreateObject("WScript.Shel l")
objWSHShell.RegWrite "HKCU\Software\Microsoft\I nternet Explorer\PageSetup\margin_ top","0.75 000"
Set objWSHShell = Nothing
Cheers
Set objWSHShell = CreateObject("WScript.Shel
objWSHShell.RegWrite "HKCU\Software\Microsoft\I
Set objWSHShell = Nothing
Cheers
ASKER
Thanks Ark,
You Are The Best
You Are The Best
http://www.freevbcode.com/ShowCode.Asp?ID=314