Search found 61 matches: getcurdir

Return to advanced search

Re: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Dear Rao Sir ,

Thanks a lot...! Now Its working...!
by shri_fwh
Tue Dec 31, 2019 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Replies: 2
Views: 374

Re: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Folder containing the Exe file. This may or may not be the current directory
Code: Select all  Expand view

? cFilePath( ExeName() )
 


Current drive and directory:
Code: Select all  Expand view

? TrueName( ".\" )
by nageswaragunupudi
Tue Dec 31, 2019 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Replies: 2
Views: 374

GETCURDIR() FUNC IS NOT WORKING ON D DRVIE

Dear All , The GETCURDIR() function is NOT working on D: Drive but is working C: perfectly. I have tried below two option both are NOT working on D: Drive. Could you please help me for the same. Thanks in advance...! Opt A    cAppDir ...
by shri_fwh
Tue Dec 31, 2019 7:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GETCURDIR() FUNC IS NOT WORKING ON D DRVIE
Replies: 2
Views: 374

Re: DOS ERROR 161 que hacer en windows de 64 bits?

Prueba a hacer:

MsgInfo( GetCurDir() )

En 32 y 64 bits
by Antonio Linares
Fri May 10, 2019 7:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DOS ERROR 161 que hacer en windows de 64 bits?
Replies: 8
Views: 918

Re: Bug in cGetFile()

A possible solution is to save the current directory using GetCurDir() before calling cGetFile() and restore it later using SetCurDir()
by Antonio Linares
Tue Feb 21, 2017 7:23 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in cGetFile()
Replies: 7
Views: 2336

oPrn:Setup() en FWH 16.12

He compilado el código que ya tenía escrito de la versión anterior de FWH con la nueva versión 16.12 y aparte de GetCurDir() que lo he tenido que modificar los path y con esto se ha resuelto, también me hace mal el oPrn:Setup() ya que me saca la ventana de selección de impresora, ...
by Julio Cepeda
Mon Jan 16, 2017 10:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: oPrn:Setup() en FWH 16.12
Replies: 4
Views: 1279

Re: GETCURDIR() con windows Server 2008 64 bits

no windows 2008 tambem? aqui acontece no winXP, para resolver faço: If IsWinXP() oApp:cDir_002 := StrTran(oApp:cDir_002, "\\", "\") oApp:cDir_001 := StrTran(oApp:cDir_001, "\\", "\") Endif No XP, não tive relatos de problemas, mesmo porque, pedimos aos client...
by karinha
Wed Jul 06, 2016 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GETCURDIR() con windows Server 2008 64 bits
Replies: 2
Views: 413

Re: GETCURDIR() con windows Server 2008 64 bits

no windows 2008 tambem?

aqui acontece no winXP, para resolver faço:

If IsWinXP()
oApp:cDir_002 := StrTran(oApp:cDir_002, "\\", "\")
oApp:cDir_001 := StrTran(oApp:cDir_001, "\\", "\")
Endif
by Sistem
Wed Jul 06, 2016 2:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GETCURDIR() con windows Server 2008 64 bits
Replies: 2
Views: 413

GETCURDIR() con windows Server 2008 64 bits

GETCURDIR() con windows Server 2008 64 bits

cDirPleno := GETCURDIR()

en windows 7 o 8 retorna correcto:

P:\REMESSA\PROTOCOLOS

En SERVER 2008 64 bits Retorna errado:

P:\\REMESSA\PROTOCOLOS

Porque retorna dos \\ ??

Gracias, saludos.
by karinha
Wed Jul 06, 2016 1:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GETCURDIR() con windows Server 2008 64 bits
Replies: 2
Views: 413

Re: GPF en FWPPC 2015 (Solucionado)

Joaquín,

Como en FWPPC ya existe una función GetCurDir() y tenia un bug potencial,
el reemplazado su código con el tuyo, gracias
by Antonio Linares
Tue Dec 01, 2015 3:20 pm
 
Forum: FiveWin para Pocket PC
Topic: GPF en FWPPC 2015 (Solucionado)
Replies: 7
Views: 2028

New FTDN January/Enero 2015 (FWH 15.01)

... was not properly removing itself from its parent oTree DATA aItems. Now it is ok. * New: function SetCurDir( cDirName ) --> lSuccess, to match GetCurDir() naming. * Fixes: Method ToExcel() of XBrowse and Report are not working propery in case of some Excel international installtions. Fixed ...
by Antonio Linares
Sun Jan 18, 2015 11:04 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2015 (FWH 15.01)
Replies: 0
Views: 1937

Re: Tactivex problem to open html file - Solved

Function GetCurDir() returned "\" the most at the end, then the path of the file to open became invalid on certain occasions. Problem solved.
by Eroni
Fri Dec 13, 2013 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tactivex problem to open html file - Solved
Replies: 1
Views: 515

Re: SqlQuery and Microsoft.ACE.OLEDB.12.0 error

Mr Ellano 1. cFilePath( ExeName() ) --> Fullpath where the exe resides 2. GetCurDir() --> Present directory. Both can be different. Important point: For using SqlQuery, ADO connection needs to be established to the "folder" where the DBF resides. ...
by nageswaragunupudi
Mon Oct 14, 2013 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SqlQuery and Microsoft.ACE.OLEDB.12.0 error
Replies: 14
Views: 3754

Re: SqlQuery and Microsoft.ACE.OLEDB.12.0 error

... have to settle with: SET DEFAULT TO (cFilePath( ExeName() ) ) //taken either from an ini file or directly as an instruction or just plainly USE (GetcurDir()+"\test.dbf") ALIAS Test SHARED NEW until I find out what's going on :?:
by ellano
Mon Oct 14, 2013 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SqlQuery and Microsoft.ACE.OLEDB.12.0 error
Replies: 14
Views: 3754

Re: SqlQuery and Microsoft.ACE.OLEDB.12.0 error

... on 8 different computers in Europe ranging from Windows XP, Vista, 7, and 8 32 and 64 bit working without a hitch using the following syntax: USE (GetcurDir()+"\test.dbf") ALIAS test SHARED NEW USE ("c:\test\test.dbf") ALIAS test SHARED NEW or USE test ALIAS test SHARED NEW ...
by ellano
Sat Oct 12, 2013 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SqlQuery and Microsoft.ACE.OLEDB.12.0 error
Replies: 14
Views: 3754
Next

Return to advanced search