Search found 23 matches: cfile1

Return to advanced search

Re: Envio de Correo con Archivos adjuntos

Efectivamente tenía mal ubicadas las comillas:

cCommand = cCommand + "attachment=" + Chr(39) + cFile1 + "," + cFile2 + Chr(39) + Chr(34)


Así ya funciona correctamente, Gracias y Saludos
by servicomver
Fri Mar 04, 2022 11:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Envio de Correo con Archivos adjuntos
Replies: 3
Views: 326

LibreOffice Document, replace String

... 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 ...
by Jorge_T
Fri Oct 04, 2019 7:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LibreOffice Document, replace String
Replies: 0
Views: 300

Re: rename and erase a file from fwh

Prova ...
cFile = cperete+"\menu.exe" // prog. su server
cfile0 = "menu.exe" // prog. su client
cfile1 = "menu1.exe"

DELETEFILE(CFILE1)
MOVEFILE(CFILE0,CFILE1)
COPYFILE(CFILE,CFILE0)

Saluti
Stefano
by stefano
Sat Jun 11, 2016 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: rename and erase a file from fwh
Replies: 3
Views: 653

Re: Factura Electronica España XML con Firma Electronica

Así rapidamente se me ocurre: cFile1:= "C:\Facturas Electronicas\Factura 120001.xml" cFile2:= "C:\Facturas Electronicas\Factura 120001.xsig" cTmp1:= "Tmp.xml" cTmp2:= "Tmp.xsig" COPY FILE (cFile1) ...
by hmpaquito
Fri Jul 10, 2015 12:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Factura Electronica España XML con Firma Electronica
Replies: 31
Views: 7638

Re: Selección múltiple de archivos

... 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, ...
by quique
Fri Mar 15, 2013 5:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Selección múltiple de archivos
Replies: 10
Views: 2097

Re: To Antonio: Multiselect xBrowse

... 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 ...
by ukoenig
Wed Oct 24, 2012 12:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio: Multiselect xBrowse
Replies: 2
Views: 767

Kill a task

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 ...
by MarcoBoschi
Tue Mar 08, 2011 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Kill a task
Replies: 1
Views: 604

Re: xBrowse Gradient-Background

... := LINESTYLE_BLACK oBrw1:nMarqueeStyle := MARQSTYLE_HIGHLROW AEval( oBrw1:aCols, { |o| o:oDataFont := oFONT } ) oBrw1:SetBackGround( cFile1, BCK_TILED ) oBrw1:bClrSelFocus = { || { 16777215,128 } } // White / Red oBrw1:bClrSel = { || { 16777215,8388608 } } // White / Blue oBrw1:bClrStd ...
by ukoenig
Mon Jul 27, 2009 1:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Gradient-Background
Replies: 8
Views: 1444

Re: reading ini file

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" ...
by sysctrl2
Wed Apr 15, 2009 6:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: reading ini file
Replies: 13
Views: 1656

this is

DLL32 FUNCTION _OWersja(cFile1 AS LPSTR, cFile2 AS LPSTR ) AS WORD PASCAL LIB "WinIP.Dll"

if function _toupper() this the same function toupper() from ctype.h
by kajot
Sun Jul 27, 2008 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

> declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR cfile1, DLL_TYPE_LPCSTR cfile2) in WinIP.Dll

This is not FiveWin syntax. What is it ?
by Antonio Linares
Sun Jul 27, 2008 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

I change
toupper(c)

and is OK

but I got worning in

declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR cfile1, DLL_TYPE_LPCSTR cfile2) in WinIP.Dll

syntax error: "parse error at 'CFILE1'"
by kajot
Sun Jul 27, 2008 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

give pointer in dll

how may I give pointer as parameter to function in DLL

p1,p2 - pinter
err:=_OWersja(p1,p2)

...
...


???
declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR CFILE1, DLL_TYPE_LPCSTR CFILE2) in WinIP.Dll
by kajot
Mon Jul 07, 2008 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

... p1, p2 ) msginfo(err) return nil //---------------------------------------------------------------------------// DLL FUNCTION _OWERSJA( cFile1 AS LPSTR, cFile2 AS LPSTR ) AS BYTE PASCAL LIB "WinIP.dll" /
by kajot
Sun Jul 06, 2008 7:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: parametrs in dll
Replies: 2
Views: 686

Try this:

DLL FUNCTION _OWERSJA( cFile1 AS LPSTR, cFile2 AS LPSTR ) AS LONG PASCAL LIB "winip.dll"
by Antonio Linares
Sun Jul 06, 2008 5:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: parametrs in dll
Replies: 2
Views: 686
Next

Return to advanced search