Search found 93 matches: nhandle

Return to advanced search

Re: Guardar y Recuperar Imagen Tdolphin

... Si se actualiza: oServer:Update("fotos_articulos",{"fotografia"},{uData},cWhere) y luego para recuperarlo, lo descomprimo: nHandle:=FCreate(cTempZip) FWrite(nHandle,bFOTOS:fotografia,Len(bFOTOS:fotografia)) FClose(nHandle) aFiles:=hb_GetFilesInZip(cTempZip,.t.) Hb_UnZipFile(cTempZip,,.T.,,cTemp,aFiles[1],NIL) ...
by TOTOVIOTTI
Wed Nov 10, 2021 12:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar y Recuperar Imagen Tdolphin
Replies: 3
Views: 442

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

... //----------------------------------------------------------------------------// FUNCTION Opc_PidoNuevoTA() Local cBat, cOpenSSL,nError Local nHandle Local aRespuesta local cCuitNew := cCuit Local cSource := 'C=AR, O=' + cEmpresa + ', serialNumber=CUIT '+ cCuitNew +', CN='+cRazon Local cDestinationDn ...
by dhf27
Tue Sep 28, 2021 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS
Replies: 43
Views: 4989

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

... //----------------------------------------------------------------------------// FUNCTION Opc_PidoNuevoTA() Local cBat, cOpenSSL,nError Local nHandle Local aRespuesta local cCuitNew := cCuit Local cSource := 'C=AR, O=' + cEmpresa + ', serialNumber=CUIT '+ cCuitNew +', CN='+cRazon Local cDestinationDn ...
by rterraz
Thu Sep 23, 2021 1:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS
Replies: 43
Views: 4989

Re: Normas para el QR-Code

... cJason=StrToBase64( cJason ) cOrigen=cOrigen+cJason //MsgAlert(cOrigen) ElTxt:= "QrJason.txt" Nhandle:= fcreate(ElTxt) If (nhandle > 0) fwrite(Nhandle, cOrigen + CRLF) fclose(nhandle) EndIf cDestino:="FastQR.jpg" QRCode(cOrigen,cDestino) ...
by jpcavagnaro
Wed Jan 20, 2021 11:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Normas para el QR-Code
Replies: 29
Views: 2967

Re: Normas para el QR-Code

... cJason=StrToBase64( cJason ) cOrigen=cOrigen+cJason //MsgAlert(cOrigen) ElTxt:= "QrJason.txt" Nhandle:= fcreate(ElTxt) If (nhandle > 0) fwrite(Nhandle, cOrigen + CRLF) fclose(nhandle) EndIf cDestino:="FastQR.jpg" QRCode(cOrigen,cDestino) ...
by postinelli
Thu Jan 14, 2021 8:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Normas para el QR-Code
Replies: 29
Views: 2967

Re: Previously opened Excel / Word files.

simply try to open in exclusive mode before
#include "FileIO.ch"

FUNCTION MAIN( cFile )
LOCAL nHandle

nHandle := FOPEN( cFile , FO_EXCLUSIVE )
IF nHandle = -1
? "Error" , FERROR()
ELSE
? "nHandle" , nHandle
FCLOSE( nHandle )
ENDIF

RETURN NIL
by MarcoBoschi
Thu Jan 14, 2021 12:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Previously opened Excel / Word files.
Replies: 2
Views: 421

Re: Tiempo de inactividad

... carried out. To add/remove these background tasks the following functions are designed (example of usage see in the harbour/tests/testidle.prg): nHandle := hb_IdleAdd( bAction ) Codeblock bAction is added to the list of background tasks for execition during idle state. The function returns nHandle, ...
by carlos vargas
Tue Mar 26, 2019 1:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tiempo de inactividad
Replies: 4
Views: 1036

Re: Utilizar funciones de una dll con harbour

... utilizar con Harbour nativo. Cristobal, el código ppo de la opcion que me sugieres, hecha mano de FWCallDLL y GetProcAdd de FW function GetTextW( nHandle,cT,nMax ) ; local _hDLL := If( ValType( "user32.dll" ) == "N", "user32.dll", LoadLibrary( "user32.dll" ...
by Xevi
Mon Dec 10, 2018 8:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Utilizar funciones de una dll con harbour
Replies: 6
Views: 1334

Re: Fatturazione Elettronica

... fatturaordinaria_v1.2.xsd ">] cRiga += CRLF fWrite( nHandle, Space( 0 ) + cRiga ) dove sta l'errore ? mi dice che manca lo spazio ma dove ? Manca lo spazio obbligatorio. Errore durante l'elaborazione ...
by Silvio.Falconi
Fri Dec 07, 2018 11:17 am
 
Forum: All products support
Topic: Fatturazione Elettronica
Replies: 91
Views: 63502

Re: Fatturazione Elettronica

quindi #include "FiveWin.ch" #include "FileIo.ch" FUNCTION FatturazioneElettronica() LOCAL cBuffer LOCAL nHandle nHandle := fCreate( cXmlFile, FC_NORMAL ) fWrite( nHandle, [<?xml version="1.0" encoding="UTF-8" ?>] + CRLF ) fWrite( nHandle, ...
by Silvio.Falconi
Tue Dec 04, 2018 3:26 pm
 
Forum: All products support
Topic: Fatturazione Elettronica
Replies: 91
Views: 63502

Descarga de Archivos

... descargar porque no me funciona correctamente, escribo el ejemplo: cDestino:="c:\archivos\archivo.rtf" cFile:="archivo.rtf" nHandle:=FCreate(cDestino) IF !FError() # 0 FWrite(nHandle,cFile,len(cFile)) FClose(nHandle) *ACÁ COMPARO SI EL TAMAÑO ORIGINAL ES EL MISMO DEL DESCARGADO ...
by TOTOVIOTTI
Mon May 14, 2018 5:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descarga de Archivos
Replies: 5
Views: 909

Re: DLL32 FW24 vs FW916

... #xtranslate nTrim( <x> [,<y>] [,<z>] ) => AllTrim(Str( <x> [,<y>] [,<z>] )) FUNCTION Test( nPort ) local nHandle, nRate, nInit DEFAULT nPort := "3" nPort := Val(nPort) ? "Port", nPort, VersionDLLFiscal() nRate := 9600 nHandle := OpenPort( ...
by hectorpapiri
Fri Nov 24, 2017 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 FW24 vs FW916
Replies: 17
Views: 2934

Re: funciones de FWH y Harbour en un archivo .txt

... Exponent(<nFloat>)->nExponent Fact(<nInteger>)->nFactorial Fahrenheit(<nCelsius>)->nFahrenheit FClose(<nHandle>)->lError FCount()->nFields FCreate(<cFile,[<nAttibute>])->nHandle FErase(<cFile>)->nSuccess FError()->nErrorCode ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Re: Aplicación se cierra al ejecutar HB_HashIni()

Mario,

> incluí a modo de prueba, FOpen(), devuelve el nHandle, luego hago FClose( nHandle)

Prueba a quitar esas llamadas
by Antonio Linares
Fri May 12, 2017 7:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Aplicación se cierra al ejecutar HB_HashIni()
Replies: 2
Views: 583

Aplicación se cierra al ejecutar HB_HashIni()

... - ejecuto la app, Verifica mediante File(...hash.ini) y por T, antes de ejecutar HB_ReadIni(...), incluí a modo de prueba, FOpen(), devuelve el nHandle, luego hago FClose( nHandle) devuelve T. En la linea siguiente ejecuta HB_ReadIni(...) y zas!! hasta luego sin mas. Lo puse dentro de un TRY ...
by MarioG
Thu May 11, 2017 11:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Aplicación se cierra al ejecutar HB_HashIni()
Replies: 2
Views: 583
Next

Return to advanced search