Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/04/2009, 11:19
luzstellan
 
Fecha de Ingreso: febrero-2009
Mensajes: 27
Antigüedad: 16 años, 2 meses
Puntos: 0
Respuesta: metodo de copia de registros HKLM

Gracias portu respuesta pero la verdad me aparece error mira como lo estoy haciendo.
Function Leer_Dato(Principal As String, Valor As String) As String
Leer_Dato = O_Registro.RegRead(Principal & "\SOFTWARE\TROYASOFT\Prueba\" & Valor)
O_Registro.RegWrite "HKCU\Software\Prueba\caso", 1, "REG_SZ"


Private Sub Command3_Click()
MsgBox Leer_Dato(LocalMachine, "caso"), vbInformation
O_Registro.RegWrite "HKCU\Software\& Valor "
End Sub


Espero tu respuesta gracias.