Search found 72 matches: lisdir

Return to advanced search

Re: Problemas al migrar desde FWH2012 a FWH2307 - cerrado

... Fixed now and will be available in FWH2310 to be released in a day or two. Meanwhile, you can use other functions with the same functionality eg. lIsDir() as suggested by Mr, Enrico
by nageswaragunupudi
Wed Nov 01, 2023 5:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al migrar desde FWH2012 a FWH2307 - cerrado
Replies: 22
Views: 1677

Re: Problemas al migrar desde FWH2012 a FWH2307 - cerrado

You can use LISDIR(): #include "Fivewin.ch"FUNCTION MAIN()    ? 2, LISDIR( "MYTEST" )    RETURN NILINIT FUNCTION TEST()    MAKEDIR( "MYTEST" ...
by Enrico Maria Giordano
Wed Nov 01, 2023 4:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al migrar desde FWH2012 a FWH2307 - cerrado
Replies: 22
Views: 1677

Testing path existence using UNC format

Hi,
Can somebody confirm whether lIsDir() or IsDirectory() can accept path in UNC format or not?

My test seems to show that they can't.

TIA
by hua
Thu Mar 05, 2020 7:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Testing path existence using UNC format
Replies: 2
Views: 418

Re: LisDir problem

Hi Antonio!

Your solution solved our problem.

Thank you.
by Joszif
Mon Jan 08, 2018 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LisDir problem
Replies: 3
Views: 675

Re: LisDir problem

Are you using the Hungarian codepage from your app ?

FW_SetUnicode( .T. )
HB_CDPSELECT( "HUWIN" )
HB_SETCODEPAGE( "UTF8" )

http://harbourlanguage.blogspot.com.es/2010/06/harbour-codepage.html
by Antonio Linares
Mon Jan 08, 2018 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LisDir problem
Replies: 3
Views: 675

Re: LisDir problem

   cPath := "C:\Monitor"   IF ! lIsDir(cPath)      MsgInfo("Monitor Not Instaled", "Warning")      RETURN(.F.)   ENDIF     IF ...
by karinha
Mon Jan 08, 2018 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: LisDir problem
Replies: 3
Views: 675

LisDir problem

Hi! In the newest FWH(17.11) and Harbour(3.2) I have a problem with the LisDir() and Directory() functions. My problem is the following: I use Hungarian characters (for example: é, á, í, ő, …etc.). If I use the new LisDir(“C:\é”), the function return false, ...
by Joszif
Mon Jan 08, 2018 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: LisDir problem
Replies: 3
Views: 675

Crear cCode para script de Harbour

... (Dentro como una funcion o desde un archivo externo) function Execute( cCode, ... ) local oHrb, cResult, bOldError, uRet local cFWheaders := If( lIsDir( ".\include" ), ".\include", "c:\FWH\include" ) local cHBheaders := If( lIsDir( ".\include" ), ".\include", ...
by Compuin
Mon Jan 02, 2017 3:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear cCode para script de Harbour
Replies: 13
Views: 1999

Re: isdir-isdirectory no funcionan con server2012r2

Estimado

isDir( "\\SERVER2012\XML" )
isDirectory( "\\SERVER2012\XML" )
lIsdir( "\\SERVER2012\XML" )


todas estas funciones funcionan bien en server2008 y server2003
server2012r2 no funcionan
by Patricio Avalos Aguirre
Thu Jun 23, 2016 11:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: isdir-isdirectory no funcionan con server2012r2(NO RESUELTO)
Replies: 8
Views: 893

Re: isdir-isdirectory no funcionan con server2012r2

Patricio:

Me parece que la función es lIsDir().

Saludos
by Armando
Thu Jun 16, 2016 1:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: isdir-isdirectory no funcionan con server2012r2(NO RESUELTO)
Replies: 8
Views: 893

Re: Windows 8.1 + Windows server 2012 = Fail

Karinha,

Sei não. Sou usuário administrador na rede, com acesso total a todas as pastas. Se acesso de um micro com Windows 7 ou Xp, o programa funciona que é uma beleza. Se acesso de um micro com Windows 8.1 a função LisDir() sempre retorna .F., mesmo que a pasta já exista.
by vilian
Fri Jan 09, 2015 5:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 8.1 + Windows server 2012 = Fail
Replies: 7
Views: 1005

Re: Windows 8.1 + Windows server 2012 = Fail

Vilian,

I use LisDir() and i have no problem at all.
by driessen
Fri Jan 09, 2015 11:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 8.1 + Windows server 2012 = Fail
Replies: 7
Views: 1005

progress bar

... directory( cCert_seg, "D" ) nFol_len := len(aFolders) // count all folders nFol_len ++ // add one to cover the one we are starting on If lIsDir( cCert_seg ) // does folder exist //MTR DEFINE FONT fntArial NAME "Arial" SIZE 0, -12 //BOLD DEFINE DIALOG oDlg FROM 14,65 TO 21, 93 ...
by brewster
Fri Jan 25, 2013 2:02 pm
 
Forum: FiveWin for CA-Clipper
Topic: progress bar
Replies: 2
Views: 3029

Re: Equivalencia en Harbour ( Solucionado )

#pragma BEGINDUMP

#include <hbapi.h>
#include <hbapifs.h>

HB_FUNC( LISDIR )
{
hb_retl( hb_fsIsDirectory( ( char * ) hb_parc( 1 ) ) );
}

#pragma ENDDUMP
by Antonio Linares
Sat Jun 02, 2012 12:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Equivalencia en Harbour ( Solucionado )
Replies: 2
Views: 564

Equivalencia en Harbour ( Solucionado )

Existe alguna función de harbour que sea equivalente a lIsDir() de xHarbour. Gracias por la ayuda.
by horacio
Fri Jun 01, 2012 8:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Equivalencia en Harbour ( Solucionado )
Replies: 2
Views: 564
Next

Return to advanced search