In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

aGetLogicalDriveStrings()

Foro de Xailer profesional en español
Responder
Xevi
Mensajes: 1706
Registrado: Jue Sep 08, 2005 12:58 pm

aGetLogicalDriveStrings()

Mensaje por Xevi »

No se encontrar una función que me devuelva un array con las Unidades
existentes.
En C3 utilizaba aGetLogicalDriveStrings()... pero en Xailer + xHarbour ¿?¿?
¿Alguien puede iluminarme???
Gracias.
Un Saludo,
Xevi.
Pdta.: Estoy rehaciendo mi aplicación de Contabilidad de C3 a Xailer !!! Así­
podré centrarme ya en una sola herramienta de desarrollo... Para mi, C3 ya
será historia!!!
xAvi
Mensajes: 108
Registrado: Mar Abr 08, 2008 6:12 pm

aGetLogicalDriveStrings()

Mensaje por xAvi »

Xevi escribió:
> No se encontrar una función que me devuelva un array con las Unidades
> existentes.
>
Prueba GetDrives( nType ) .-
Local aDrivers := GetDrives( DRIVE_UNKNOWN )
LogDebug( aDrivers )
Donde nType .-
Value Meaning
DRIVE_UNKNOWN The drive type cannot be determined.
DRIVE_NO_ROOT_DIR The root directory does not exist.
DRIVE_REMOVABLE The disk can be removed from the drive.
DRIVE_FIXED The disk cannot be removed from the drive.
DRIVE_REMOTE The drive is a remote (network) drive.
DRIVE_CDROM The drive is a CD-ROM drive.
DRIVE_RAMDISK The drive is a RAM disk.
Un saludo
Xavi
Xevi
Mensajes: 1706
Registrado: Jue Sep 08, 2005 12:58 pm

aGetLogicalDriveStrings()

Mensaje por Xevi »

xAvi,
PERFECTO!!!
Gracias.
Un Saludo,
Xevi.
"xAvi" <jarabal_eliminar_no_spam_@gmail.com> escribió en el mensaje de
noticias news:471a556c$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Xevi escribió:
>> No se encontrar una función que me devuelva un array con las Unidades
>> existentes.
>>
>
> Prueba GetDrives( nType ) .-
>
> Local aDrivers := GetDrives( DRIVE_UNKNOWN )
> LogDebug( aDrivers )
>
> Donde nType .-
>
> Value Meaning
> DRIVE_UNKNOWN The drive type cannot be determined.
> DRIVE_NO_ROOT_DIR The root directory does not exist.
> DRIVE_REMOVABLE The disk can be removed from the drive.
> DRIVE_FIXED The disk cannot be removed from the drive.
> DRIVE_REMOTE The drive is a remote (network) drive.
> DRIVE_CDROM The drive is a CD-ROM drive.
> DRIVE_RAMDISK The drive is a RAM disk.
>
> Un saludo
> Xavi
Responder