Ver Mensaje Individual
  #4 (permalink)  
Antiguo 02/01/2006, 22:21
vvictoristudio
 
Fecha de Ingreso: noviembre-2005
Mensajes: 43
Antigüedad: 19 años, 4 meses
Puntos: 0
Registrar OCX

Para registrar cualquier OCX, DLL, EXE escribe el código de abajo en el Bloc de notas y luego guardalo como "Registrar.reg", despúes haz doble clic sobre este fichero, te mostrara un mensaje y lo aceptas.
Luego haz clic con el boton secundario del mouse sobre cualquier OCX, DLL o EXE, y te saldra en el menu la opcion de "Register" y "Unregister" y listo.

´El código es el siguiente:´

REGEDIT4

; ==========
; Para los archivos .DLL
; ==========

[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"

[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"

[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""

; ==========
; Para los archivos .OCX
; ==========

[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"

[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"

[HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""

; End

; ==========
; Para los archivos .EXE
; ==========

[HKEY_CLASSES_ROOT\.exe]
"Content Type"="application/x-msdownload"
@="exefile"

[HKEY_CLASSES_ROOT\exefile]
@="Application Extension"

[HKEY_CLASSES_ROOT\exefile\Shell\Register\command]
;@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\exefile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""