FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Export Registry
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Export Registry
Posted: Sat Oct 19, 2013 06:38 PM

Is it possible to export (programatically) an entry in the registry?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Export Registry
Posted: Mon Oct 21, 2013 05:22 AM

Jeff,

Yes, it is. Do you mean to review all the subentries of an entry ? Or just an entry value ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Export Registry
Posted: Mon Oct 21, 2013 07:58 PM

Hi Antonio,

I'm looking for the sub-entries of an entry :)

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Export Registry
Posted: Mon Oct 21, 2013 10:57 PM
Jeff,

There is a working example in FWH/samples/testini3.prg

Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local cEntries := StrTran( GetProfString( "Devices" ), Chr( 0 ), CRLF )
   local n

   for n = 1 to MlCount( cEntries )
      MsgInfo( GetProfString( "Devices", MemoLine( cEntries,, n ) ),;
               MemoLine( cEntries,, n ) )
   next

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion