Search found 356 matches: curdir

Searched query: curdir

by leandro
Fri Feb 07, 2025 11:11 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar tamaño caja toast
Replies: 7
Views: 1352

Ajustar tamaño caja toast

... por defecto, ya busque el código fuente, pero no logro encontrarlo.

https://hymplus.com/forofw/ajuste_tareas.png


cRutaLgo := CurDrive()+":\"+CurDir()+"\loguito.bmp"
Toast( "CONFIRMACION DE PROCESO", "Documento nomina radicado correctamente DIAN","HymLyma | Digital Products ",cRutaLgo )


De ...
by Jorge Jaurena
Tue Jun 04, 2024 2:18 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con DLL
Replies: 8
Views: 1466

Re: Ayuda con DLL

... DEL SISTEMA ***************************
Function Main()
Local oDbf,Vec1,Q,Titulo,MsgFooter,IPCem
Private DBF1,CDX1

DBF1:=CurDrive()+":\"+Curdir()+"\CONFPIPE.DBF"

USE &DBF1 NEW
DATABASE oDbf
oDbf:bEoF=nil
oDbf:bBoF=nil
oDbf:GoTop()
RutaDat :=ALLTRIM(oDbf:RUTADATOS)
SerRemoto:=oDbf:REMOTO ...
by jpcavagnaro
Sat Mar 09, 2024 11:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: Error con FW_OpenRecordSet
Replies: 1
Views: 344

Error con FW_OpenRecordSet

Hola gente, me pueden decir que estoy haciendo mal:

xdrive := curdrive() + ":\" + curdir()+"\esp"
oCn := FW_OpenAdoConnection( { "FOXPRO", xdrive}, .T.)

cSQL := "select top 10 Cliente, Fecha, licita, descrip, cantidad, devol from detlici where codigo = '00024' order by descrip" // and licita ...
by Marcelo Roggeri
Tue Mar 05, 2024 1:37 pm
Forum: FiveWin para Harbour/xHarbour
Topic: XIMAGE
Replies: 10
Views: 1455

Re: XIMAGE

... de pegar la imagen me guarda la imagen en blanco.
Me esta faltando algo?

agregue esto antes de guardar la imagen
cArchivo:=curdrive()+":\"+curdir()+"\imagenes\foto.jpg"
oSelf:oImg:Save(.F.,cArchivo, 100)
lo guarda pero me da un alert de here P
y es molesto para el usuario final
Cualquier ...
by jpcavagnaro
Thu Nov 02, 2023 7:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer dbf con FW_OpenRecordSet
Replies: 2
Views: 390

Error al leer dbf con FW_OpenRecordSet

... 0 }, ;
{ "ReqNorma " , "m", 10, 0 }, ;
{ "Finalizada " , "D", 8, 0 } ;
} )
clos data

cuando intento leerla :
xdrive := curdrive() + ":\" + curdir()
oCnM := FW_OpenAdoConnection( { "FOXPRO", xdrive }, .T.)
cSQLa := "SELECT * FROM Auditado where cliente = 5 order by numero "
oRSa := FW ...
by nageswaragunupudi
Sat Sep 16, 2023 10:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile()
Replies: 10
Views: 1630

Re: cGetFile()

Enrico Maria Giordano wrote:
nageswaragunupudi wrote:OFT.
Just a casual discussion.
I think it should be CURDRIVE() + ":\" + CURDIR() but not CURDRIVE() + "\" + CURDIR().
Yes, sorry.
My sincere apologies.
My intention was only to consider the merits of using the alternative function TrueName(".\")
by Enrico Maria Giordano
Sat Sep 16, 2023 6:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile()
Replies: 10
Views: 1630

Re: cGetFile()

nageswaragunupudi wrote:OFT.
Just a casual discussion.
I think it should be CURDRIVE() + ":\" + CURDIR() but not CURDRIVE() + "\" + CURDIR().
Yes, sorry.
by Willi Quintana
Wed Sep 13, 2023 1:38 am
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al migrar desde FWH2012 a FWH2307 - cerrado
Replies: 22
Views: 4581

Re: fivewin 2023/07 y 2020/12 problemas al crear EXE

Mi estimado,prueba con la ruta completa del .INI


cRutaIni := CurDrive() + ":\" + Curdir() + "\connect.ini"
If File(cRutaINi)
..
..
..
endif
by Jimmy
Mon Dec 26, 2022 8:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 6661

Re: chatGPT writes and executes Harbour code !!!

... for the party.

With everything in order, Mary packed up her computer and headed out the door. As she drove to her family's house, she used the CURDIR keyword to make sure she was headed in the right direction.

Upon arriving at the party, Mary was greeted with joy and excitement by her family ...
by Silvio.Falconi
Wed Nov 09, 2022 9:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Preview
Replies: 14
Views: 2124

Re: Problems with Preview

... FWSavePreviewToPDF( oPreview, cPDF, lOpen )
local cOrient, oPDF
local n

cPdf:= oApp:cPdfTemp

if LoadFreeImage() <= 32
MsgAlert( "Freeimage.dll non trovata" )
return nil
endif

DEFAULT cPDF := cGetFile( "PDF File (*.pdf)|*.pdf|", "Seleziona il File PDF da Save", ;
CurDir(), .t. )

....
by TimStone
Fri Jul 22, 2022 11:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Windows Service - finding path
Replies: 6
Views: 712

Windows Service - finding path

... service is started, it knows the location of that file, and works correctly.

I need to write to a log file, so I set a path. I use. curdrv() and curdir() plus "\data\" to create the path.
So it should come back with F:\MLS12\Data\
However, with the service executing, it uses the following path ...
by Antonio Linares
Tue Jan 05, 2021 10:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Marc : Conversion process and questions about it
Replies: 30
Views: 5704

Re: Marc : Conversion process and questions about it

... include "hbclass.ch"

CLASS System
DATA date
DATA path
ENDCLASS

oSystem = System()
oSystem:date = Date()
oSystem:path = hb_CurDrive() + ":\" + CurDir()

another alternative is to use a "hash" where you don't need a class:

local hSystem := {=>}

hSystem[ "date" ] = Date()
hSystem[ "path" ] = hb ...
by
Wed Jul 08, 2020 2:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda con Mysql
Replies: 11
Views: 2357

Re: Ayuda con Mysql

No me funciona,

#include "fivewin.ch"
#include "ado.ch"

FUNCTION MAIN()


LOCAL cPath := CURDRIVE() + ':\\' + CURDIR()+";"
LOCAL lConnect := .f.
LOCAL cDriSql := ""


cDriSql := "DRIVER={MySQL ODBC 8.0 Unicode Driver};UID=root;PASSWORD=xxxx;PORT=3306;SERVER=localhost;DATABASE=restaurate; OPTION ...
by Natter
Fri Dec 06, 2019 9:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: shellexec or winexec
Replies: 5
Views: 963

Re: shellexec or winexec

Is that what you mean ?

cPt:=CurDrive()+':\'+CurDir()
SHELLEXECUTE( 0, 0, cPt+"\"+MyFile, 0, 0, 1)
by Jimmy
Thu Oct 17, 2019 10:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: harbour v1.x -> v.3x Error
Replies: 2
Views: 600

harbour v1.x -> v.3x Error

... cmd.exe
Arguments => /C R:\Temp\s5bwew.bat
----------------------------------------------------------------------------------------------------
CurDir() => Users\a\Desktop Starting in => E:\harbour\CAL\

E:\harbour\CAL>C:\harbour\bin\hbmk2.exe E:\harbour\CAL\HbXbase.hbp -q -trace -info -lang=en ...