Search found 326 matches

by cmsoft
Sat Nov 30, 2024 5:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: copy an image from the Windows clipboard - SOLVED
Replies: 3
Views: 691

Re: copy an image from the Windows clipboard

Prueba este ejemplo, para ver si te sirve:
#include "fivewin.ch"

//----------------------------------------------------------------------------//

function Main()

local aImages, oWnd, oFont, oBrush, oBrw, oImage

FW_SetUnicode( .t. )
HB_SETCODEPAGE( "UTF8" ) // Harbour (not xHarbour) to ...
by cmsoft
Thu Nov 28, 2024 11:45 am
Forum: FiveWin para Harbour/xHarbour
Topic: Mr RAO, ayuda, Store Procedure no funciona..
Replies: 3
Views: 612

Re: Mr RAO, ayuda, Store Procedure no funciona..

Hola Willy, como llamas a los Store?
Yo lo hago así y funciona:

Code: Select all | Expand

oServer:Execute("CALL Carga_Familiares("+ClipValue2Sql(base:legajo)+")")
 
Uso Dolphin pero intuyo que debe ser igual en la librería nativa
by cmsoft
Tue Nov 26, 2024 2:36 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Felicidades a Antonio Linares.
Replies: 25
Views: 3393

Re: Felicidades a Antonio Linares.

Feliz cumpleaños Maestro!!!
by cmsoft
Thu Nov 21, 2024 12:20 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Folderex Gracent
Replies: 3
Views: 654

Re: Folderex Gracent

Ruben, puedes ponerle gradiente en el FOLDER y tambien a cada dialogo que incluyes en cada opcion del FOLDER

#include "Fivewin.ch"
Function Main()
LOCAL oDlg1, oFld, oFont, oBrush, oGet := ARRAY (4), oBot := ARRAY(2), aVar := ARRAY(4), lRta := .f.
afill(aVar, space(10))

DEFINE FONT oFont NAME ...
by cmsoft
Fri Nov 15, 2024 2:33 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 986

Re: xbrowse(autosort) + tdolphin - erro


Param 1: C "SELECT * FROM nfsaida AS nf LEFT JOIN pedidos AS p ON (nf.chave=p.chave) LEFT JOIN clientes AS c ON (nf.cliente = c.codigo) WHERE IF(nf.filialfiscal!=0,nf.filialfiscal,nf.filial) = 1 AND nf.emissao BETWEEN '2024-11-01' AND '2024-11-30' AND COALESCE(nf.notaservico, 0 ) = 0 ORDER BY ...
by cmsoft
Thu Nov 14, 2024 4:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 986

Re: xbrowse(autosort) + tdolphin - erro

Esto no me produce error:
#include "FiveWin.ch"
#include "xBrowse.ch"
#include "tdolphin.ch"

function Main()
LOCAL oForm, oServer, oQry, oBrw
CONNECT oServer HOST 'localhost' ;
USER 'root' ;
PASSWORD 'miclave' ;
PORT 3306 ;
FLAGS 0;
DATABASE 'test'
oQry := oServer:Query('SELECT p.chave as ...
by cmsoft
Thu Nov 14, 2024 4:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 5547

Re: cloud or not cloud

Moving from DBF to MySql is not only a question of can access database on-line. MySql is stronger, safer and thanks to Mr Rao's work, easier to use than DBF.

Eso sin dudas, MySql y MariaDB nos dan muchas herramientas para la optimizacion del manejo de los datos, que con dbf serían tarea del ...
by cmsoft
Wed Nov 13, 2024 10:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse(autosort) + tdolphin - erro
Replies: 6
Views: 986

Re: xbrowse(autosort) + tdolphin - erro

Prueba de esta forma:

#include "FiveWin.ch"
#include "xBrowse.ch"
#include "tdolphin.ch"
function Main()
LOCAL oForm, oServer, oQry, oBrw
CONNECT oServer HOST 'localhost' ;
USER 'root' ;
PASSWORD 'miclave' ;
PORT 3306 ;
FLAGS 0;
DATABASE 'test'
oQry := oServer:Query('SELECT p.chave as chave ...
by cmsoft
Fri Nov 08, 2024 11:26 am
Forum: FiveWin para Harbour/xHarbour
Topic: Generar QR para cobro
Replies: 7
Views: 653

Re: Generar QR para cobro

Willi, hecha un vistazo aquí:
https://bitingenieria.com.ar/sdk-mercadopago/
Posible es posible, hay que hacer el programa o pagar por la librería.
No se si Mercado Pago estará disponible en Peru.
by cmsoft
Tue Nov 05, 2024 4:26 pm
Forum: FiveWin para Harbour/xHarbour
Topic: CREAR PDF CON FILE
Replies: 11
Views: 939

Re: CREAR PDF CON FILE

Prueba así:

#include "Fivewin.ch"
#include "print.ch"
FUNCTION Main()
LOCAL oPrn, i, oFont
DEFINE FONT oFont NAME "ARIAL" SIZE 60,120
FOR i := 1 TO 5
PRINT oPrn ;
NAME "Pdf Nro "+str(i,2) ;
FILE "pdf"+STR(i,1)+".pdf" PREVIEW
oPrn:SetPage(5) // LEGAL
oPrn:SetPortrait() //Vertical
PAGE ...
by cmsoft
Thu Oct 31, 2024 1:57 am
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta color en xbrowse
Replies: 3
Views: 443

Re: Consulta color en xbrowse

Puedes cambiar
oBrw:bClrStd := {|| { iif(empty(_ActxCoe->FecAct),CLR_GREEN,CLR_RED),CLR_WHITE } }
oBrw:bclrSel := {|| { iif(empty(_ActxCoe->FecAct),CLR_GREEN,CLR_RED),CLR_WHITE } } // color del focus
Por esto:
oBrw:bClrStd := {|| { iif(empty((cAlias)->FecAct),CLR_GREEN,CLR_RED),CLR_WHITE } }
oBrw ...
by cmsoft
Tue Oct 29, 2024 11:57 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al exportar a excel (SOLUCIONADO)
Replies: 2
Views: 470

Re: Problemas al exportar a excel (SOLUCIONADO)

Armando, en algun momento le haces oRsBit:End() ?
No uso ADO pero en Dolphin lo hago así como vos y funciona bien

**Editado** (Perdon, no habia visto que ya lo habias solucionado)
by cmsoft
Tue Oct 29, 2024 11:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como contar registros en TReport? (SOLUCIONADO)
Replies: 2
Views: 302

Re: Como contar registros en TReport?

Una idea:
REPORT oReport ;
TITLE "*** LISTADO DE PRUEBA ***","","FiveTech Software","" ;
HEADER "Fecha: "+dtoc(date())+space(44)+"Hora: "+time() ;
FOOTER "Página: "+str(oReport:nPage,3) PREVIEW

GROUP ON Customer->State ;
HEADER " " ;
FOOTER "Total Estado "+oReport:aGroups[1]:cValue+" "+STR ...
by cmsoft
Tue Oct 29, 2024 12:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell on xbrowse
Replies: 5
Views: 597

Re: Edit cell on xbrowse

bEditValid es un metodo de la clase TXBrwColumn no de la clase TXBrowse
Debes ponerlo a cada columna que desees
by cmsoft
Mon Oct 28, 2024 11:23 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Una revision de DBCOMBO
Replies: 3
Views: 449

Re: Una revision de DBCOMBO

Muchas gracias por compratirlo Marcelo