Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/06/2010, 14:21
Avatar de pkj
pkj
 
Fecha de Ingreso: julio-2006
Ubicación: Órbita sincrónica
Mensajes: 899
Antigüedad: 17 años, 9 meses
Puntos: 29
Respuesta: Visual Basic 6

Puedes hacer algo asi:

Código vb:
Ver original
  1. Dim objShell As Object
  2. Dim Linea As String
  3. Dim NumFichero As Integer
  4. Set objShell = CreateObject("Wscript.Shell")
  5. Linea = objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Activision\Call of Duty 4\codkey")
  6. NumFichero = FreeFile
  7. Open App.Path & "\Registro.txt" For Output As #NumFichero
  8. Print #NumFichero, Linea
  9. Close NumFichero


Saludos
__________________
No hay preguntas tontas, solo gente estup..., ¡No!, ¿como era? No hay gente que pregunte a tontos... ¡Nooo!... ¡Vaya cabeza!