Search found 41 matches: lreturn

Return to advanced search

Re: Win 10 and getUrl

now I'm using IF URLDOWNLOADTOFILE( 0,cUrl , cZipFile) =0 lreturn := .t. else lreturn := .f. endif DLL FUNCTION URLDOWNLOADTOFILE( pCaller AS LONG, cUrl AS LPSTR, cFileName AS LPSTR, nReserved AS DWORD, nFnCB AS LONG ) AS LONG; PASCAL FROM "URLDownloadToFileA" ...
by Silvio.Falconi
Sun Jun 12, 2022 7:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Win 10 and getUrl
Replies: 4
Views: 549

Re: Finding the caption of a Hash

... Function HB_HasTrovato(hVars,xKey,lValore,lUpper) Local lReturn := .f. DEFAULT lValore := .f. DEFAULT lUpper := .t. IF lUpper xKey := upper(xKey) endif IF HB_ISHASH(hVars) .and. HHasKey( hVars , xKey ) IF ...
by Maurizio
Fri Apr 01, 2022 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 447

Re: FW_EXCELTODBF with tdatabase

Silvio.Falconi wrote:Now I resolve with

IF oImport:ExcelToDBF( oRange, nil, .t. )
lreturn :=.t.
ENDIF

But I not Know if it is correct!!


Correct.
by nageswaragunupudi
Sun Jan 30, 2022 5:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_EXCELTODBF with tdatabase
Replies: 4
Views: 335

Re: FW_EXCELTODBF with tdatabase

Now I resolve with

IF oImport:ExcelToDBF( oRange, nil, .t. )
lreturn :=.t.
ENDIF

But I not Know if it is correct!!
by Silvio.Falconi
Thu Jan 20, 2022 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_EXCELTODBF with tdatabase
Replies: 4
Views: 335

FW_EXCELTODBF with tdatabase

oImport:=TImport():New() IF FW_ExcelToDBF( oRange, nil, .t. ) lreturn :=.t. ENDIF give me error wich is the right command ? Error Error occurred at: 19-01-2022, 13:39:00   Error description: Error DBCMD/2001  Workarea non in use: DBINFOStack ...
by Silvio.Falconi
Wed Jan 19, 2022 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_EXCELTODBF with tdatabase
Replies: 4
Views: 335

TFTP no reporta archivos para actualizacion de aplicacion

... rRuta := "/public_ftp/ruta" local CantFiles,nSize:= 0 local oDlg,oSay,oBtnCancel,oMeter,lEnd:=.F.,nAmount,lOk:= .F.,lValRet:= .F. local lReturn := .F. MsgRun( "Connecting to Internet...", "Please, wait",{ || oInternet := TInternet():New()}) MsgRun( "Conectando ...
by CARLOS ATUNCAR
Thu Jan 13, 2022 6:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFTP no reporta archivos para actualizacion de aplicacion
Replies: 4
Views: 462

Re: edit a record with tdatabase - I am in trouble RESOLVED !!

...  RETURN Self could i create another method for order search? example METHOD SearchInvoice(nInvoice,oPre,oRes) CLASS TReserva local oRes,lReturn:=.f. oRes:setOrder(res_pre) If oRes:seek(Invoice) oPre:=:=oRes:record() lreturn :=.t. else msginfo("error") endif return lreturn :=.t. ...
by Silvio.Falconi
Fri Jun 18, 2021 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a record with tdatabase - I am in trouble
Replies: 8
Views: 1295

Re: check existing first and last on customer

... oCliente:Clicognome, aGet[2], 1,oDbf,oCliente:Clinome ) function SearchCli ( cCognome, oGet, nMode,oDbf,cNome )   local lreturn  := .f.   local nRecno   := oDbf:RecNo()   local nOrder   := oDbf:OrdNumber()   local nArea    := Select() if Empty( ...
by Silvio.Falconi
Mon Jun 14, 2021 9:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2508

Re: Helpindex and winseven

... in my program: SetHelpFile("our Helpfile") as my helpfiles are online I changed help32.prg static function IsHelpFile( cHelpFile ) local lReturn := .F. return lReturn //-----------------------------------------------------------------------// FUNCTION HelpIndex( ) // activa F1 local cHelpFile ...
by Otto
Fri Jan 31, 2020 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Helpindex and winseven
Replies: 4
Views: 977

Re: Disable Advantage error message dialogs

oDB := DBServer {"d:\demo10.dbf", DBShared,, "AXDBFCDX"}
lReturn := AdsGetLastError( @dwError, pacError, @wLen)


if !AdsConnect60( "C:\", 2 )

cMsg = Space( 300 )

adsGetLastError( @cMsg )

winMsgInfo( cMsg ), "Error connecting do C:\" )

endif
by toninhofwi
Thu Dec 14, 2017 11:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Advantage error message dialogs
Replies: 12
Views: 1465

Re: Disable Advantage error message dialogs

... if an error occurred while attempting to open a table: LOCAL oDB AS DBServer LOCAL dwError AS DWORD LOCAL pacError AS PSZ LOCAL wLen AS WORD LOCAL lReturn AS LONGINT pacError := MemAlloc( 200 ) wLen := 200 RDDSETDEFAULT("AXDBFCDX") oDB := DBServer {"d:\demo10.dbf", DBShared,, ...
by Massimo Linossi
Thu Dec 14, 2017 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Advantage error message dialogs
Replies: 12
Views: 1465

Re: Placa USB HID programar

... <windows.h> // Funcion Para Conectar el Dispositivo BOOL WINAPI Connect( int pHostWin ); HB_FUNC( MYHIDCONNECT ) { INT pHostWin; BOOL lReturn; pHostWin = hb_parni(1); lReturn = Connect(pHostWin); hb_retl(lReturn); } LONG WINAPI GetHandle( int pVendoID,int pProductID); HB_FUNC( MYHIDGETHANDLE ...
by softruz
Thu Nov 17, 2016 10:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Placa USB HID programar
Replies: 11
Views: 1523

a function return 2 values

... IF calsslib(ngiorno,nore,nora) ... the function I found on old clipper app I must converte static function GIORNOLIB(nGiorno, nOre, nOra) Local lreturn := .f. if (Val(do->giornoli) == nGiorno .AND. nOra == 1 .AND. ; do->punti < "3" .AND. Val(do->giornoli) == nGiorno ; .AND. ...
by Silvio.Falconi
Sat Jan 31, 2015 12:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a function return 2 values
Replies: 11
Views: 2294

Correct way to call an external DLL?

... IPAdd AS LPSTR, Portl AS LONG ) AS BOOL PASCAL LIB "xxxxxx.dll" Thisis my code... PUBLIC hDLL := LoadLibrary("xxxxxx.dll") lReturn:=Conectar("192.168.1.1",9999) MsgInfo( lReturn ) FreeLibrary( hDLL ) But I get a nil value, instead of .T. or .F. What am I doing ...
by Adolfo
Wed Aug 27, 2014 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Correct way to call an external DLL?
Replies: 12
Views: 2629

Correcta forma de llamar a DLL externa?

... IPAdd AS LPSTR, Portl AS LONG ) AS BOOL PASCAL LIB "xxxxxx.dll" Mi codigo es este... PUBLIC hDLL := LoadLibrary("xxxxxx.dll") lReturn:=Conectar("192.168.1.1",9999) MsgInfo( lReturn ) FreeLibrary( hDLL ) Pero siempre obtengo NIL, no .T. o .F. como espero Cualquier ...
by Adolfo
Tue Aug 26, 2014 10:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Correcta forma de llamar a DLL externa?
Replies: 2
Views: 520
Next

Return to advanced search