Obtener valor de registro de sistema

08/02/2004 - 01:05 por Javier Pincheira | Informe spam
Hola a todos, necesito leer un valor de registro de sistema desde la
HKEY_CURRENT_USER y poder cambiarlo, la idea es manejar allí variables
para direccionar mis datos, he utilizado las funciones de la clase
registry GetKeyValue(...) y GetRegKey(...) pero no pasa nada, si alguien
me puede dar una manito lo agradeceré





-
PortalFox :: Nada corre como un zorr
http://www.portalfox.co

PortalFox - NNTP Forum Gatewa

Preguntas similare

Leer las respuestas

#1 Alex Feldstein
08/02/2004 - 15:03 | Informe spam
On Sat, 07 Feb 2004 16:05:08 -0800, "Javier Pincheira"
wrote:

Hola a todos, necesito leer un valor de registro de sistema desde la
HKEY_CURRENT_USER y poder cambiarlo, la idea es manejar allí variables
para direccionar mis datos, he utilizado las funciones de la clase
registry GetKeyValue(...) y GetRegKey(...) pero no pasa nada, si alguien
me puede dar una manito lo agradeceré



Aparte de la clase que viene en el FFC (registry.vcx) tienes WSH:

http://support.microsoft.com/defaul...US;Q244675


Para registry.vcx puedes correr el ejemplo (y ver copmo esta hecho).
Abre la Galeria de Componentes - FFC->Visual FoxPro Catalog->
Foundation Classes->Utilities->Registry Access-right click->View
Sample->Run

Ver (todo en una linea):
http://msdn.microsoft.com/library/d...frame=true

http://msdn.microsoft.com/library/d...access.asp



Alex Feldstein
________________________________
Microsoft Visual FoxPro MVP
Please respond in the public groups so that everybody
can benefit from the exchange.
Favor de responder en los foros públicos asi todos se benefician.
(Address scrambled with ROT-13)
Respuesta Responder a este mensaje
#2 David Amador \(Davphantom\)
28/02/2004 - 02:00 | Informe spam
Aqui tiene las diversas formas de hacerlo ... y dependiendo del tipo de dato
a leer o guardar

HOWTO: Read from the Windows Registry
http://support.microsoft.com/defaul...-us;140170

HOWTO: Write to the Windows Registry Using API Calls
http://support.microsoft.com/defaul...-us;135398

HOWTO: Programmatically Access the Registry in Visual FoxPro
http://support.microsoft.com/defaul...-us;191638

HOWTO: Use the Windows Script Host to Read, Write, and Delete Registry Keys
http://support.microsoft.com/defaul...-us;244675

HOWTO: Read a REG_SZ Value From the Registry
http://support.microsoft.com/defaul...us;Q258556

HOWTO: Read a REG_EXPAND_SZ Value From the Registry
http://support.microsoft.com/defaul...us;Q265331

HOWTO: Read a REG_MULTI_SZ From the Registry
http://support.microsoft.com/defaul...us;Q258528

HOWTO: Write a DWORD to the Registry
http://support.microsoft.com/defaul...us;Q258262

HOWTO: Write a REG_SZ Value to the Registry
http://support.microsoft.com/defaul...us;Q258559

HOWTO: Write a REG_EXPAND_SZ to the Registry
http://support.microsoft.com/defaul...us;Q271733

HOWTO: Write a REG_MULTI_SZ Value to the Registry
http://support.microsoft.com/defaul...us;Q258545

David Amador Tapia
WebMaster de La Web de Davphantom
www.davphantom.net
Cartagena. Colombia
Tel. (5) 6581523 - 6621502 - Cel 310-6581865


"Javier Pincheira" escribió en el mensaje
news:%
Hola a todos, necesito leer un valor de registro de sistema desde la
HKEY_CURRENT_USER y poder cambiarlo, la idea es manejar allí variables
para direccionar mis datos, he utilizado las funciones de la clase
registry GetKeyValue(...) y GetRegKey(...) pero no pasa nada, si alguien
me puede dar una manito lo agradeceré






PortalFox :: Nada corre como un zorro
http://www.portalfox.com

PortalFox - NNTP Forum Gateway
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida