On a ftp procedure I use this configuration to upload and download a file from fwh Local cFtp :=( pad(GetPvProfString("Config","Ftp" ,"" ,::cIniFtp ) , 60 ," " ) ) Local cFtpDir :=( pad(GetPvProfString("Config","FtpDir" ...
... have to use numeric values in the configuration file for areas and items. The configuration files are INI-files. You can use WritePProString and GetPvProfString. Every PRINTAREA is stored in a single file. In the REPORT Definition file ReportName.vrd is a key [Areas] where you see a list with ...
... nOntop = 1, SetWindowPos( oDlgMain:hWnd, -1, 0, 0, 0, 0, 3 ), NIL ), ; // On Top defined in INI ... ... add in Function GET_INI() nOntop := Val(GetPvProfString( "RGB", "On top", "1" , cIniFile ) ) and in function SAVE_INI() WritePProString( "RGB", "On ...
Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
Marco, If you still want to save value with leading spaces in an ini, maybe you can try to mime-encode it first. cStringIni := cStringIni + "Password=" + cMimeEnc(cCrypted) + crlf and later you have to remember to cVar2 := HB_DECRYPT( cMimeDec(cCri2) ...
it looks as a standard Windows API behaviour. It seems that GetPrivateProfileString() API removes leading spaces, that has to be considered the right behaviour, of course.