... hacerlo en modo "oculto", es decir, que no me muestre como se abre y cierra el LibreOffice. Este es mi programa: function Main() cfile1="c:\doc\carta1.odt" // este documento contiene el texto "saludos" cfile2="c:\doc\newdoc.odt" // en el nuevo documento ...
... que vale la pena comentar, porque sin ellos no me funcionó: 1. Cambié la función CurDrive() por hb_CurDrive() 2. Modifiqué la línea aadd( aFile, cFile1 ) por aadd( aFile, left( cFile1, at( chr( 0 ), cFile1 ) - 1 ) ), porque si no, tenía problemas cuando solo seleccionaban un archivo. Muchas gracias, ...
... reopening the dialog ( xBrowse-array loaded / created from a TXT-file ) The 1. record shown on top, is the 1. multiselected record. IF FILE( "cFile1.txt" ) oBrw1:nArrayAt := READ_MULTI( "cFile1.txt", oBrw1 ) ENDIF Now the converter uses only these selected fields. http://www.pflegeplus.com/pictures/multisel2.jpg ...
Hi, I have to kill "Adobe Reader" that remains open after a print. ShellExecute( 0, "print", cFile1 , "" ,"" , 0 ) In this way I obtain list of all active task LOCAL aTasks := GetTasks() LOCAL i LOCAL cEleTask := "" FOR i := 1 TO ...
Silvio, METHOD LeeIni() CLASS main local oIni INI oIni FILE ".\Sysctrl.Ini" GET cFile1 SECTION "TESTFILE" ENTRY "1" OF oIni DEFAULT "UNO.TXT" GET cFile2 SECTION "TESTFILE" ENTRY "2" OF oIni DEFAULT "DOS.TXT" ...