Export Registry

Export Registry

Postby Jeff Barnes » Sat Oct 19, 2013 6:38 pm

Is it possible to export (programatically) an entry in the registry?
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Export Registry

Postby Antonio Linares » Mon Oct 21, 2013 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Export Registry

Postby Jeff Barnes » Mon Oct 21, 2013 7: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Export Registry

Postby Antonio Linares » Mon Oct 21, 2013 10:57 pm

Jeff,

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

Code: Select all  Expand view
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests