Search found 41 matches: inifile

Return to advanced search

Re: save to inifile

Good Evening: Test if this helps Silvio ** Probando Extraer variables desde INI** Suponiendo que las variables se alimentan desde una DBF con datos INI** en cuyo caso x0=nombre del archivo ini tambien deberia estar guardado en la dbf** no voy a usar x0 sino nMini para el nombre del archivo ini#inclu...
by Maggiro
Fri Oct 21, 2022 2:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: save to inifile

Silvio,

unfortunately the ';' character in .ini files acts as a comment sign.
Like '*' or // or /* */ in our normal source code.
So your latest method is the correct solution-

Regards, Detlef
by Detlef
Mon Oct 10, 2022 6:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: save to inifile

Now I'm trying to make cString_TH:= GetIni( cInifile, cSection,"TH", "" ) IF ! empty(cString_TH) cToken := StrToken(cString_TH,1,";") acSizes[1] := StrToken(cToken,1,"|") acEstilo[1] := StrToken(cToken,2,"|") acSpaces[1] := StrToken(cToken,3,"|&...
by Silvio.Falconi
Mon Oct 10, 2022 11:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: save to inifile

// C:\FWH..\SAMPLES\GRABAINI.PRG - 08/10/2022 - kapiabafwh@gmail.com#Include "FiveWin.ch"STATIC oDlg, cTitleFUNCTION GRABAR_INI_SILVIO()   LOCAL nCor, oIni, oFont, oIco, oBrush, oBtnClr, oBtnEnd   INI oIni FILE ".\Fondo.ini"      GET nCor SECTION "MAIN" ENTRY &...
by Silvio.Falconi
Mon Oct 10, 2022 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: save to inifile

Otto wrote:Silvio, have you tried:
WritePProString( "section", "TH", "12|normale|5|#8DB3E2|#548DD4|#FFFFFF",".\demo.ini" )

Best regards,
Otto


Yes of course, all on a string but I have all on variables and my question is also how load each single data
by Silvio.Falconi
Mon Oct 10, 2022 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: save to inifile

// C:\FWH..\SAMPLES\GRABAINI.PRG - 08/10/2022 - kapiabafwh@gmail.com#Include "FiveWin.ch"STATIC oDlg, cTitleFUNCTION GRABAR_INI_SILVIO()   LOCAL nCor, oIni, oFont, oIco, oBrush, oBtnClr, oBtnEnd   INI oIni FILE ".\Fondo.ini"      GET nC...
by karinha
Sat Oct 08, 2022 8:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: save to inifile

Silvio, have you tried:
WritePProString( "section", "TH", "12|normale|5|#8DB3E2|#548DD4|#FFFFFF",".\demo.ini" )

Best regards,
Otto
by Otto
Sat Oct 08, 2022 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

save to inifile

I must save on inifile as this

[section]
TH=12|normale|5|#8DB3E2|#548DD4|#FFFFFF

How I can make ?
by Silvio.Falconi
Sat Oct 08, 2022 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: save to inifile
Replies: 7
Views: 676

Re: Mem Files

... savefile Perhaps to Edit all variables we can save all variables and values on array and then can use Xbrowse then wecan save all or converte into inifile
by Silvio.Falconi
Sat Oct 09, 2021 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mem Files
Replies: 11
Views: 713

Re: Get ...picture ...error strange

ok,
I found the error
on inifile
ClOrder=0

opps...
by Silvio.Falconi
Thu Apr 15, 2021 10:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get ...picture ...error strange--- resolved!!!
Replies: 3
Views: 510

Ribbonbar & XbrGetDate

... 2019/05/15 } Local dDatalimite2 :={^ 2019/05/30 } But I not Know how converte "15/05/2019" into {^ 2019/05/15 } I have the date from Inifile select by user #include "fivewin.ch"#include "ribbon.ch"STATIC oWndSTATIC oDlgRB[3]REQUEST HB_Lang_ITREQUEST HB_CODEPAGE_ITWINfunction ...
by Silvio.Falconi
Fri May 31, 2019 7:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbonbar & XbrGetDate
Replies: 0
Views: 366

Re: EXE passwords are visible in plain

... ascii ( or file INI) I not understood where you found "Antonio Linares from fivetechsoft!" if the text is cripted with aes and insert on inifile https://i.postimg.cc/5Nh3B2xy/test-aes.jpg then each string cifrated is insert on inifile the tlicense class have 9 line cifrated ...
by Silvio.Falconi
Sat Nov 10, 2018 10:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXE passwords are visible in plain
Replies: 27
Views: 5082

Re: Hide columns

... the state at init please try this you can see if I save a state sample 1,3,6 ( set these columns and then close the exe) then it save right on inifile ( see the customer.ini) when you re open the exe it show the column 1 3 and not the state saved before #include"fivewin.ch"REQUEST ...
by Silvio.Falconi
Sat Nov 21, 2015 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hide columns
Replies: 14
Views: 6708

Re: Hide columns

... sample run ok here but I wish explain you. when I open mt customer application table I have default column sample {2,4,5,6} I save the state on inifile when the final user close the table and restore the state when the final user open the table What I Wish: 1. if the final user select the other ...
by Silvio.Falconi
Tue Nov 17, 2015 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hide columns
Replies: 14
Views: 6708

Re: problem with dbsetfilter

... .AND. nRecno != 0 AS->(DbGoTo(nRecno)) <------------------------------------the error else AS->(DbGoTop()) endif on nRecNo I save on ( inifile) the record and it then make the error because if the user open today on 20.10.2015 and the user have close on 16.10.2015 the procedure show ...
by Silvio.Falconi
Mon Oct 19, 2015 8:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with dbsetfilter
Replies: 9
Views: 1448
Next

Return to advanced search