xsharp.eu • New version of Xs2Ado 5.0.6
Page 1 of 1

New version of Xs2Ado 5.0.6

Posted: Fri Feb 16, 2024 3:21 pm
by robert
I have uploaded an installer for Xs2Ado 5.0.6.
This new build fixes an error when a component (such as bBrowser) does a Skip (0) when the server is at EOF.

https://www.xsharp.eu/itm-downloads?fol ... 252Fxs2ado

Robert

Re: New version of Xs2Adp 5.0.6

Posted: Mon Feb 19, 2024 5:21 am
by stecosta66
Hi Robert,

there is any chance to have this fix for VO2Ado too?

thanks!
Stefano

Re: New version of Xs2Adp 5.0.6

Posted: Mon Feb 19, 2024 7:11 am
by robert
Stefano,
Vo2Ado has not been changed in 8 years. I am not planning to update it.
What you can do is in your subclass of the AdoServer add a skip method like this:

Code: Select all

METHOD Skip(nToSkip) CLASS MyAdoServer
IF nToSkip == 0 .and. SELF:lEof
RETURN FALSE
ENDIF
RETURN SUPER:Skip(nToSkip)
Robert

Re: New version of Xs2Adp 5.0.6

Posted: Mon Feb 19, 2024 8:31 am
by stecosta66
Robert,
thanks a lot!

Stefano

Re: New version of Xs2Adp 5.0.6

Posted: Mon Feb 19, 2024 1:57 pm
by Kees Bouw
stecosta66 wrote: Mon Feb 19, 2024 5:21 am Hi Robert,

there is any chance to have this fix for VO2Ado too?

thanks!
Stefano
Stefano,

It may be that the problem does not exist in VO2Ado. I have ported an application from VO to X# (using VO2Ado and Xs2Ado) and only the X# version had these specific errors.

Kees.

Re: New version of Xs2Ado 5.0.6

Posted: Tue Feb 20, 2024 5:54 am
by stecosta66
Kees,
I've faced this problem myself with Vo2Ado and bBrowser.
Actually I'm still on VO but planning to switch to X# in the next few months

Stefano
Kees Bouw wrote: Mon Feb 19, 2024 1:57 pm
Stefano,

It may be that the problem does not exist in VO2Ado. I have ported an application from VO to X# (using VO2Ado and Xs2Ado) and only the X# version had these specific errors.

Kees.