Search found 8018 matches

by nageswaragunupudi
Thu Mar 04, 2021 5:59 am
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar
Replies: 6
Views: 11412

Re: Error al compilar

1) Please make sure that the command @ 19.2, 2.2 PRINT TO oPrn IMAGE is supported in your version of FWH. (Check print.ch)
2) This may be causing the error "AllTrim(&oQr)"
by nageswaragunupudi
Tue Mar 02, 2021 12:28 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Mysql (Result a Array en C) solicitud de ayuda.
Replies: 7
Views: 28100

Re: Mysql (Result a Array en C) solicitud de ayuda.

I know Mr Carlos does not want to use FWH library, but all this functionality was built into FWH MariaDB library some years back.
by nageswaragunupudi
Mon Mar 01, 2021 2:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: TGet class difference FWH11.08 and 20.04 help (Solved) ...
Replies: 3
Views: 6369

Re: TGet class difference FWH11.08 and 20.04 help please ...

DATA cVarName of any control/window is expected to store the name of the variable representing the control/window. But in case of TGet, it was storing the name of the variable being edited. This was fixed in FWH1207, but resulted in changing the contents of oGet:oGet:Name also. This is now fixed in ...
by nageswaragunupudi
Sun Feb 28, 2021 6:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 16985

Re: What's the best way to set individual bits, in a bit string

If you are interested, you can make a beginning with this sample: #include "fivewin.ch" //----------------------------------------------------------------------------// function Main()    local num1 := 100    local num2 := 50    local result    result := MY_ADD( num1, num2 )    ? num1, num...
by nageswaragunupudi
Sun Feb 28, 2021 4:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 16985

Re: What's the best way to set individual bits, in a bit string

Please study "c" programs in fwh\samples\function folder.
by nageswaragunupudi
Sun Feb 28, 2021 5:39 am
Forum: FiveWin para Harbour/xHarbour
Topic: CRC8
Replies: 2
Views: 5605

Re: CRC8

#include "fivewin.ch" function Main()    local cStr, nCrc8    cStr  := "This is a sentence"    nCrc8 := FW_CRC8( cStr )    ? cStr, nCrc8 return nil //----------------------------------------------------------------------------// #pragma BEGINDUMP #include <hbapi.h> static unsign...
by nageswaragunupudi
Sun Feb 28, 2021 4:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: What's the best way to set individual bits, in a bit string
Replies: 9
Views: 16985

Re: What's the best way to set individual bits, in a bit string

#include <hbapi.h> HB_FUNC( BIT ) {    unsigned char   mask,                   *ptr;    unsigned int    loc,                    offset = hb_parni( 2 ) - 1,                    res    = 0;    loc = offset / 8;    if ( loc < hb_parclen( 1 ) )    {       ptr = hb_parc( 1 ) + loc;       loc = offset % 8...
by nageswaragunupudi
Sun Feb 28, 2021 4:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, Where's the difference?
Replies: 3
Views: 9017

Re: Mr. Rao, Where's the difference?

Can you please set

Code: Select all

oApp:oCn:CursorLocation := 3
and then try FW_OpenRecordSet(...)
by nageswaragunupudi
Sun Feb 28, 2021 4:13 am
Forum: FiveWin para Harbour/xHarbour
Topic: Memory Leak - Richedit
Replies: 14
Views: 133762

Re: Memory Leak - Richedit

1) Please try and let us know if this works. oImage:CopyToClipBoard( .t. ) FW_SaveImage( nil, cFileName )   2) We would like to check again why oImage:Save( .t., cImage ) is not working. 3) I very much liked your program. If you do not mind sharing your full program with me, I would like to test and...
by nageswaragunupudi
Sat Feb 27, 2021 12:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Round image using Jpeg files
Replies: 3
Views: 6270

Re: Round image using Jpeg files

Oh, sorry.
Your FWH version is older.
All these functions are available in the later versions.
by nageswaragunupudi
Sat Feb 27, 2021 12:01 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Mysql y ssl
Replies: 3
Views: 9891

Re: Mysql y ssl

Amigos, es posible una conexión Mysql - SSL con FwhMariaDb? Muchas gracias. Saludos It is now possible with Dolphin, but not yet with FWH MariaDB. I agree that we need to provide this facility and it is overdue. I would be very much obliged if you help me to implement this in FWH Mariadb. Can you p...
by nageswaragunupudi
Sat Feb 27, 2021 11:57 am
Forum: FiveWin para Harbour/xHarbour
Topic: Seleccionar primer y ultimo registro de una consulta.
Replies: 5
Views: 6760

Re: Seleccionar primer y ultimo registro de una consulta.

Code: Select all

oRs := oCon:RowSet( "select id from auditoria where codigo_concepto = ? order by id DESC limit 1", { cConcepto } )
 
OR

Code: Select all

oRs := oCon:RowSet( "select codigo_concepto, max(id) as id from auditoria where codigo_concepto = ? group by codigo_concepto", { cConcepto } )
 
by nageswaragunupudi
Sat Feb 27, 2021 11:46 am
Forum: FiveWin para Harbour/xHarbour
Topic: Memory Leak - Richedit
Replies: 14
Views: 133762

Re: Memory Leak - Richedit

I think this is what you are doing: oImage is TXImage control. You are copying the image as viewed from oImage to Clipboard. Paste the image to oImage2, which is a TImage control. Then saving the image using oImage2:SaveImage(...) All this is not necessary. We do not require the second TImage contro...
by nageswaragunupudi
Sat Feb 27, 2021 11:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, Where's the difference?
Replies: 3
Views: 9017

Re: Mr. Rao, Where's the difference?

Can you execute this and let me know the result?

Code: Select all

? oApp:oCon:CursorLocation