with my xp desktop computer there is no problem if i want to register it,

for example i want to use the xpbutton.ocx,
what i do is copy the file to system32 and register it with regsvr32 + ocx file

in vista how to do that,
because if i do with the same process i just encounter an error