Search found 15 matches: regsetvalue

Return to advanced search

Re: Urgent Problem regedit

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

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: 1079

Modificar clave del Regedit

... 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) Desde ya... mil gracias! Roberto
by TOTOVIOTTI
Thu Jan 08, 2015 8:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Modificar clave del Regedit
Replies: 6
Views: 1079

Re: Tablet and form style for Windows 8 (desktop ver.)

Hello Antonio, I tried to get/set the values with a FW program. But RegSetValue( hKey, "ScrollHeightn" ,-500 ) RegQueryValue( hKey, "ScrollHeight" , @uValue ) in my case does not work. RegEnumValue is working fine. Do you know a solution. ...
by Otto
Thu Mar 07, 2013 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tablet and form style for Windows 8 (desktop ver.)
Replies: 80
Views: 23561

Re: registry value

... @nHandle ) // Creo el Grupo. if RegOpenKey( HKEY_CURRENT_USER, "SOFTWARE\MySoft", @nHandle ) == 0 // Si existe. RegSetValue( nHandle, "F.Ul.Actualizacion" ,cDateUltActu ) Endif RegCloseKey( nHandle ) endif Return NIL
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 !

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

... comando "REDEFINE IMAGE ...". Usa la misma sintáxis que "AS REDEFINE BITMAP ...", pero soporta muchos más tipos de imágenes. * Mejora: La función RegSetValue( nKey, cSubKey, uValue ) ahora soporta valores númericos también, proporcionado por uValue. * Mejora: La clase TBtnBmp muestra múltiples ...
by Antonio Linares
Thu Jan 18, 2007 9:56 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2007
Replies: 3
Views: 9028

New FTDN January/Enero 2007

... REDEFINE IMAGE ... It was missing. It uses the same syntax AS REDFINE BITMAP ... but it supports much more image types. * Enhancement: function RegSetValue( nKey, cSubKey, uValue ) now supports numeric values too supplied as uValue. * Enhancement: Class TBtnBmp shows a multiple lines caption ...
by Antonio Linares
Tue Jan 16, 2007 5:23 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2007
Replies: 3
Views: 9028

Bill,

We are going to modify RegSetValue(), thanks
by Antonio Linares
Mon Jan 08, 2007 5:45 pm
 
Forum: FiveWin for Pocket PC
Topic: RegSetValue()
Replies: 9
Views: 3029

RegSetValue()

It seems the function only stores STRING values? How can I store DWORD and BINARY values to the PPC registry?

Thanks.
by Bill Simmeth
Mon Jan 08, 2007 5:00 pm
 
Forum: FiveWin for Pocket PC
Topic: RegSetValue()
Replies: 9
Views: 3029

Antonio Yes RegSetValue seems to write extra characters depending on length - eg ABCDEFGHIJKLMNOP becomes ABCDEFGHIJKLMNOP???? plus Chr(03) ABCDEFGHIJKLMNOPQ becomes ABCDEFGHIJKLPMNOPQ??? plus Chr(03) yet strings of 10,11 or 20 ...
by Jon Munro
Thu Oct 27, 2005 7:06 am
 
Forum: FiveWin for Pocket PC
Topic: Registry functions
Replies: 18
Views: 8169

Antonio,
RegSetValue now operates OK and the few extra characters it throws in gratis are not a problem. Thanks for the rapid solution. Sockets are next...
regards
by Jon Munro
Wed Oct 26, 2005 1:35 pm
 
Forum: FiveWin for Pocket PC
Topic: Registry functions
Replies: 18
Views: 8169

Antonio, Sorry, but RegSetValue still only writes half the string plus some spurious data. I believe the length of the string after conversion to unicode and including the terminating null is required (I've been reading MS help) :? ...
by Jon Munro
Wed Oct 26, 2005 7:11 am
 
Forum: FiveWin for Pocket PC
Topic: Registry functions
Replies: 18
Views: 8169

Antonio, RegSetValue now writes OK except that only half the string gets written to the registry - ie 10 chs become only 5 ! I suspect that the size of the data needs to be defined as DWORD. Also it works with the emulator too. ...
by Jon Munro
Tue Oct 25, 2005 7:10 am
 
Forum: FiveWin for Pocket PC
Topic: Registry functions
Replies: 18
Views: 8169

... the update. I've tested it on an Intermec 700 and used VidyaRegistry editor to check results: Reading values and Creating keys is now OK. However, regsetvalue correctly creates the required subkey but writes the type 'REG_SZ' instead of the intended text contents... Nearly there :-) hth Regards, ...
by Jon Munro
Mon Oct 24, 2005 4:02 am
 
Forum: FiveWin for Pocket PC
Topic: Registry functions
Replies: 18
Views: 8169

Return to advanced search