Search found 815 matches

by Adolfo
Thu Feb 25, 2021 11:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: MARIADB Export Rowset
Replies: 5
Views: 6333

Re: MARIADB Export Rowset

Thanks..
Works great...
by Adolfo
Tue Feb 23, 2021 11:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: MARIADB Export Rowset
Replies: 5
Views: 6333

MARIADB Export Rowset

Hi fivewinners Is there a metod in Mariadb to export a row set to a txt file. Just like Tdolphin with... oQry:=cSvr:Query("select * from datos") oExp:=oQry:Export( EXP_TEXT, "C:\XXXXX\EXPORT" ) oExp:Start() oExp:Close() or something like that. Thanks in advance
by Adolfo
Wed Sep 30, 2020 8:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Offtopic : advice in buying a pos-ticket printer
Replies: 5
Views: 1411

Re: Offtopic : advice in buying a pos-ticket printer

Any Windows printer is FWH friendly I use thermal printers in various customers. I print thermal labels for over 5 years in some of them, and I didn't have problemas at all. I use Epson, Zebra, 3nStar thermal printers. So I don't see any problems with them. Any else you need just contact me. From Ch...
by Adolfo
Tue Sep 15, 2020 1:27 pm
Forum: FiveWin para Harbour/xHarbour
Topic: realizar una suma en Mysql
Replies: 5
Views: 1393

Re: realizar una suma en Mysql

Mas sencillo y directo usando funcion propia de MYSQL/MARIADB y mas rapida.

select sum(coalesce(pagos.INDUSTRIA,0))......
by Adolfo
Mon Sep 07, 2020 1:20 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error Harbour y FWH con NET USE.. Antonio?
Replies: 2
Views: 969

Re: Error Harbour y FWH con NET USE.. Antonio?

Antonio... habia solucionado mi problema con un parche, pero la velocidad del proceso me esta complicando. Cuando llamo al bat, la primera linea es net use LPT1 \\127.0.0.1\BOLETAS /PERSISTENT:YES luego procede a seguir y todo funciona, pero debo esperar a que net use realice el redireccionamiento p...
by Adolfo
Tue Aug 25, 2020 9:49 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error Harbour y FWH con NET USE.. Antonio?
Replies: 2
Views: 969

Error Harbour y FWH con NET USE.. Antonio?

Fivewinners A proposito del error que encontre con una de mis app, encontre una situacion rara. FWH o Harbour no lee o reconoce los puertos capturados por NET USE Si hago esto antes de entrar a mi sistema C:\>Net Use LPT1: \\127.0.0.1\NOMBREIMPRESORA /PERSISTENT:YES C:\>Net Use la informacion de cap...
by Adolfo
Tue Aug 25, 2020 3:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error calling a service
Replies: 7
Views: 1670

Re: Error calling a service

mauri.menabue wrote:hi
Try : SET PRINTER TO cDummyFile.txt
bye
Hi.. can't control it... the service is in charge on printing, not my APP
by Adolfo
Tue Aug 25, 2020 2:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 5256

Re: Ejecutar llamada a servicio.

Te Respondi en el foro en Ingles... ninguna de estas llamadas

WaitRun(), WinExec() o ShelExecute() logra imprimir en LPT1, si hace todo lo demas, menos imprimir. Pero si lo llamo desde la consola y ejecuto el .bat, imprime sin problemas.
by Adolfo
Tue Aug 25, 2020 2:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error calling a service
Replies: 7
Views: 1670

Re: Error calling a service

None of...

WaitRun()
WinExec()
ShellExecute()

They do everything but printing in LPT1, BUT if I call the .bat from command line, it does
by Adolfo
Tue Aug 25, 2020 3:20 am
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 5256

Re: Ejecutar llamada a servicio.

estaba puesto arriba... pero es este

reply.exe "archivo.txt" "nolog" "url:127.0.0.1">>exito.txt
by Adolfo
Tue Aug 25, 2020 3:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: Error calling a service
Replies: 7
Views: 1670

Error calling a service

Hi fivewinners I posted this same question on the spanish forum. I have a service running in a PC, in order to comunicate with it I call a bat file from within mi app. Like this WAITRUN("DO.BAT",0) Do.bat contains this reply.exe "archivo.txt" "nolog" "url:127.0.0.1...
by Adolfo
Tue Aug 25, 2020 2:48 am
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 5256

Re: Ejecutar llamada a servicio.

Agrego mas información de esta rareza. Cree un exe en Pelles C con las siguientes lineas #include <stdio.h> #include <windows.h> #include <shellapi.h> int main() { #define WIN32_DEFAULT_LIBS static char *cmdstr="do.bat"; ShellExecute(NULL,"open",cmdstr,NULL,NULL,SW_HIDE); return ...
by Adolfo
Thu Aug 20, 2020 7:57 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 5256

Re: Ejecutar llamada a servicio.

No, es de una app de verificacion de acceso a una maquina. Es independiente. Tiene un servicio, mas una app. La app la llamo desde mi sistema con parametros designados, esta se comunica son el servicio y ejecuta algunas acciones, me devuelve un numero de chequeo e imprime un ticket. Si encapsulo tod...