Search found 30 matches: regopenkey

Return to advanced search

Re: How to call Events from OLE/COM objects

hi, sorry ... have "forgot" this Thread have SET set bcdir=c:\bcc7set FWDIR=c:\fwhset fwh=c:\fwhset GT=gtguiset HBDIR=c:\harbourset hdir=c:\harbourset hdirl=c:\harbour\lib\win\bcc and Call build.bat olebrow and got Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologie...
by Jimmy
Sun May 15, 2022 12:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to call Events from OLE/COM objects
Replies: 14
Views: 963

Re: Urgent Problem regedit

Function Esegui() local hKey RegOpenKey( HKEY_LOCAL_MACHINE,; "Software\Microsoft\Office\11.0\Delivery", @hKey ) // RegDeleteKey( hKey, "CdCache" ) RegSetValue(hKey,"CdCache","0") MsgInfo( RegQueryValue( ...
by Silvio.Falconi
Fri Jan 23, 2015 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Urgent Problem regedit
Replies: 5
Views: 1110

Urgent Problem regedit

... each terminal I must change a value into HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Delivery\CdCache from 2 to 0 I make this ... local hKey RegOpenKey( HKEY_LOCAL_MACHINE,; "Software\Microsoft\Office\11.0\Delivery\CdCache", @hKey ) RegDeleteKey( hKey, "CdCache" ) RegCloseKey( ...
by Silvio.Falconi
Fri Jan 23, 2015 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Urgent Problem regedit
Replies: 5
Views: 1110

Re: Modificar clave del Regedit

Roberto,

Has probado a leer el valor una vez modificado ?

RegOpenKey(HKEY_CURRENT_USER,"Software\Microsoft\Notepad",@hKey)
RegSetValue(hKey,"lfFaceName","Courier New")

MsgInfo( RegQueryValue( hKey,"lfFaceName" ) )

RegCloseKey(hKey)
by Antonio Linares
Fri Jan 09, 2015 10:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Modificar clave del Regedit
Replies: 6
Views: 1083

Modificar clave del Regedit

... con un tipo de letra específico. Encontré donde está alojada, pero no queda modificado el dato, que estaré haciendo mal? Muestro el ejemplo: RegOpenKey(HKEY_CURRENT_USER,"Software\Microsoft\Notepad",@hKey) RegSetValue(hKey,"lfFaceName","Courier New") RegCloseKey(hKey) ...
by TOTOVIOTTI
Thu Jan 08, 2015 8:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Modificar clave del Regedit
Replies: 6
Views: 1083

Re: Test for a .Pdf reader

Rick, if you want to rewrite the regopenkey() function you can try to add the folowing code to your system: #pragma BEGINDUMP HB_FUNC( REGOPENKEY ) // ( nkey, cSubKey, @nHandle ) --> nResult { HKEY hKey = ( HKEY ) hb_parnl( 1 ); HKEY hResult; ...
by ADutheil
Fri Nov 11, 2011 11:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test for a .Pdf reader
Replies: 11
Views: 3324

Re: Test for a .Pdf reader

... application: FUNCTION TestPdfReader LOCAL lRetu := .F. LOCAL hKey, cName, uValue, n := 0 LOCAL aKeys := {} #define HKEY_LOCAL_MACHINE 2147483650 RegOpenKey( HKEY_LOCAL_MACHINE, "SOFTWARE\Classes\.pdf", @hKey ) WHILE RegEnumValue( hKey, n++, @cName, @uValue ) = 0 aAdd( aKeys, { cName, ...
by ADutheil
Wed Nov 09, 2011 11:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test for a .Pdf reader
Replies: 11
Views: 3324

Re: TReg32 urgente??? (SOLUCIONADO)

... EL POLLO ! :D ya pude solucionar el borrado de las claves de registro. Es una solucion un poco ruda porque no uso la clase TReg32 y los comandos RegOpenKey(),RegDeleteKey() y RegCloseKey(). Estuve buscando en la ayuda de Windows y di con la solucion usando el propio Manejador del Registro de ...
by cuatecatl82
Tue May 10, 2011 3:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TReg32 urgente???
Replies: 8
Views: 2176

Re: TReg32 urgente???

Pues de nuevo reviviendo a los muertos: Maestro Antonio ha habido alguna solución, RegOpenKey() devuelve 0 eso quiere decir que pudo abrir con exito la clave, pero no logro eliminarla. Aqui mi codigo.. LOCAL hKeyIF RegOpenKey( HKEY_LOCAL_MACHINE,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", ...
by cuatecatl82
Mon May 09, 2011 9:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TReg32 urgente???
Replies: 8
Views: 2176

Re: REGISTRY commands

... Function main() Key:="Software\Microsoft\Windows\CurrentVersion\Policies\System" Name:="NoDispSettingsPage" valore:=1 IF RegOpenKey( HKEY_CURRENT_USER,Key, @nHandle ) == 0 oReg := TReg32():New(HKEY_CURRENT_USER, Key) oReg:Set(Name,valore) ELSE oReg := TReg32():New(HKEY_CURRENT_USER, ...
by Silvio
Wed Nov 24, 2010 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: REGISTRY commands
Replies: 9
Views: 1952

FWH32 cannot read 64bit Registry Keys

As subject. To do so, you need to add the KEY_WOW64_64KEY flag to RegOpenKeyEx while now it only uses KEY_ALL_ACCESS in \source\winapi\regedit.c Please see http://msdn.microsoft.com/en-us/library/aa384129%28v=VS.85%29.aspx I suggest adding a 4th optional ...
by Davide
Sat Aug 14, 2010 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH32 cannot read 64bit Registry Keys
Replies: 12
Views: 1857

Re: registry value

Otto function ReadRegistry() LOCAL nHandle LOCAL cValue LOCAL dFecUltActu if RegOpenKey( HKEY_CURRENT_USER, "SOFTWARE\MySoft", @nHandle ) == 0 dFecUltActu := cToD( RegQueryValue( nHandle, "F.Ul.Actualizacion" , @cValue )) RegCloseKey( nHandle ...
by tsales
Mon May 31, 2010 6:30 am
 
Forum: FiveWin for Pocket PC
Topic: registry value
Replies: 1
Views: 590

Re: Se necesita ayuda en el wiki !

... #define HKEY_DYN_DATA 2147483654 //-------------------------------------------------------------// function Main() local nHandle, cValue if RegOpenKey( HKEY_LOCAL_MACHINE,; "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths",; @nHandle ) == 0 RegQueryValue( nHandle, "IEXPLORE.EXE", ...
by Cgallegoa
Tue Feb 23, 2010 12:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5500

Re: Se necesita ayuda en el wiki !

... ReadComm() ReadVar() RealizePalette() Rectangle() RectDotted() Recv() RegCloseKey() RegCreateKey() RegDeleteKey() RegEnumKey() RegisterClass() RegOpenKey() RegQueryValue() RegSetValue() ReleaseCapture() ReleaseDC() RemoveMenu() RemoveProp() Report() ResetDC() ResourceFree() RestoreDC() RestProc() ...
by Cgallegoa
Tue Feb 23, 2010 3:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5500

New FTDN November/Noviembre 2009 (9.11)

... if the database class implements method by name "OrdDescend" with the same syntax as the OrdDescend function of RDD. * Fix: function RegOpenKey() was not properly working fine after recent changes. Now it is ok. * Fix: Class TTitle, added missing call to Super:Destroy() from Method ...
by Antonio Linares
Sun Nov 22, 2009 10:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre 2009 (9.11)
Replies: 0
Views: 1645
Next

Return to advanced search