Search found 169 matches: fcreate

Return to advanced search

... DEFAULT cVer TO "1.0" DEFAULT cEncode TO "ISO-8859-1" //BYNAME lFormated ::CRLF := If( lFormated, Chr(13)+Chr(10), "" ) ::aMark := {} ::hFile := FCreate( AllTrim( cOut ), 0 ) ::Procesar( '<?xml version="' + cVer + '" encoding="' + cEncode + '"?>' ) IF !Empty( cSheet ) ::Procesar( '<?xml-stylesheet ...
by Pedro Faro
Mon Jun 18, 2007 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML
Replies: 6
Views: 2601

... posibilidad de "leer" esa parte de la memoria. Algo asi como poder hacer cGraficoBmp:=???????? y despues Memowrit(cGraficoBmp,"pepe.bmp") o h:=fcreate("pepe.bmp",0) fwrite(h,cGraficoBmp) fclose(h) Seria ideal... ¿ La clase TBitmap donde guarda el BMP ?
by JmGarcia
Sat May 26, 2007 10:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Salvar a disco graficos de un RC/EXE en tiempo de ejecucion
Replies: 6
Views: 1346

You can use MEMOWRIT() or FCREATE() to create files. I don't recommend to write in the registry.

EMG
by Enrico Maria Giordano
Mon May 21, 2007 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: date/time limit (trial)
Replies: 5
Views: 863

CreateXLS

I have code in VB for creating XLS file direct with FCREATE() and FWRITE()
If you interesting I can send this file for conversion to xHarbour
by digicad
Sun Apr 29, 2007 8:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel Files
Replies: 15
Views: 4764

Antonio Tengo programa llamado init_var.prg en el cual utilizo funciones como curdir(), Fclose(), fCreate(), etc,etc. Pues bien, lo compile y genera una lib en base a dicho programa y me genero bien mi lib. Ahora realizo mis test con otro programa y mando llamar una funcion ...
by ramirezosvaldo
Sat Mar 31, 2007 1:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Iniciando con Mac
Replies: 60
Views: 18712

Antonio Tengo programa llamado init_var.prg en el cual utilizo funciones como curdir(), Fclose(), fCreate(), etc,etc. Pues bien, lo compile y genera una lib en base a dicho programa y me genero bien mi lib. Ahora realizo mis test con otro programa y mando llamar una funcion ...
by ramirezosvaldo
Fri Mar 30, 2007 4:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Iniciando con Mac
Replies: 60
Views: 18712

Gracias Antonio, He pensado hacerca del ftp, al igual para hacer zip o desempacar. Si desde el programa construyo un script con fcreate() y luego lo corro con un run(). Desde luego en el script debera conectarme al servidor en caso del ftp y en el caso del pkzip o pkunzip ( algo similar ...
by ramirezosvaldo
Thu Mar 29, 2007 1:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Iniciando con Mac
Replies: 60
Views: 18712

Maybe a sloution ? Font problem ?

... FILE_FLAG_OVERLAPPED 0x40000000 function Main() LOCAL HOUT1,CFILE cfile := CurDir() + "TEST.txt" IF FILE(CFILE) ferase(cfile) ENDIF HOUT1 := fCreate( cFile ) FWRITE( HOUT1, "THIS IS A NON ACCENTED LINE" + CRLF ) FWRITE( HOUT1, "àéè€ù° Accented LINE" + CRLF ) fClose( hOut1 ) Sendblue( MemoRead(cfile)) ...
by Richard Chidiak
Sun Feb 25, 2007 4:32 pm
 
Forum: FiveWin for Pocket PC
Topic: bluetooth print follow
Replies: 24
Views: 8028

... all cases. Would you please post a small sample of its use ? many thanks! Antonio Sure no problem this is a snapshot CFILE := "PRN.TXT" nHandle := fCreate( cFile ) Ntext := SPACE(45) Ntext := CHR(27) +'p'+ CHR(0)+CHR(100)+CHR(100) // this will open a cash tray FWRITE( nHandle, Ntext) fClose( nHandle ...
by Richard Chidiak
Tue Dec 12, 2006 8:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: epson escape printing with usb printer
Replies: 6
Views: 2098

epson escape printing with usb printer

... printsend(CHR(27) +'p'+ CHR(0)+CHR(100)+CHR(100),ICAISSE) // icaisse is the correct name of the printer And also CFILE := "c:\test.TXT" nHandle := fCreate( cFile ) FWRITE( nHandle, NTEXT) fClose( nHandle ) PrintFileRaw(ICAISSE,CFILE) Again no success. I really do not know where to go from here.... ...
by Richard Chidiak
Mon Dec 11, 2006 8:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: epson escape printing with usb printer
Replies: 6
Views: 2098

Clase para manejar Blat.exe ....

... := .T. Local nContador := 0 Local hFile := 0 Local cOpciones := "" If Len( ::aTo ) > 0 cOpciones := cOpciones + " -tf " + ::cTf IF ( hFile := FCREATE( ::cTf, FC_NORMAL)) == -1 lResultado := .F. Else FWRITE( hFile, ::aTo[1] ) For nContador := 2 To Len( ::aTo ) FWRITE( hFile, "," + ::aTo[nContador] ...
by FiveWiDi
Wed Oct 25, 2006 8:58 pm
 
Forum: Utilities / Utilidades
Topic: Clase para manejo de blat.exe desde FiveWin. V1.1
Replies: 8
Views: 5482

AYUDA URGENTE !!!! COMO ENVIAR DATOS CON SOCKTES

... case case oSocket:Cargo == ST_COMMAND cToken = StrToken( cData, 1 ) do case case cToken == "SENDFILE" oSocket:Cargo = ST_SENDFILE oSocket:hFile = fcreate( StrToken( cData, 2 ) ) case cToken == "MSG" MsgInfo( SubStr( cData, 5 ) ) endcase case oSocket:Cargo == ST_SENDFILE fwrite( oSocket:hFile, ...
by prm_pedro
Mon Oct 16, 2006 2:05 pm
 
Forum: FiveWin para CA-Clipper
Topic: AYUDA URGENTE !!!! COMO ENVIAR DATOS CON SOCKTES
Replies: 1
Views: 864

ayuda para enviar varibles en un socket

... case case oSocket:Cargo == ST_COMMAND cToken = StrToken( cData, 1 ) do case case cToken == "SENDFILE" oSocket:Cargo = ST_SENDFILE oSocket:hFile = fcreate( StrToken( cData, 2 ) ) case cToken == "MSG" MsgInfo( SubStr( cData, 5 ) ) endcase case oSocket:Cargo == ST_SENDFILE fwrite( oSocket:hFile, ...
by prm_pedro
Fri Oct 13, 2006 1:17 pm
 
Forum: FiveWin para CA-Clipper
Topic: ayuda para enviar varibles en un socket
Replies: 0
Views: 628

Problem reading text file

... " + cConsname + cEol cMsg += LEFT( "OBL TYPE" + SPACE(20), 20 ) + " : " + cObtype + cEol // Create file... cMsgfile = ALLTRIM(cHbl)+".TXT" hCts = FCREATE( cMsgfile, 0) FWRITE( hCts, cMsg ) FCLOSE( hCts ) // Send email... IF ! EMPTY( cTo ) cCmd := "mailer " + cFrom + ' ' + cTo + ' ' + cSubject ...
by cdmmaui
Thu Oct 12, 2006 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem reading text file
Replies: 1
Views: 1056

... cFile1 := StrTran( cfile1, ".dbf", ".xml" ) if !".xml"$cfile1 cfile1+=".xml" end cTable := Left( cDbf, At( ".", cfile1 ) - 1 ) nHandle := fCreate( cFile1 ) // Writes XML header fWrite( nHandle, [<?xml version="1.0" encoding="GB2312" ?>] + CRLF ) fWrite( nHandle, Space( 0 ) + "<" ...
by ShumingWang
Wed Oct 11, 2006 4:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Txbrowse Database handle
Replies: 6
Views: 2326
PreviousNext

Return to advanced search