Search found 91 matches: setado

Return to advanced search

Re: Intermittant xBrowse ADO error ( again )

Rao, James I have the same Paint() method and am now using 9.06 .. I have re-compiled the app and seperated the problem lines in setado so if I do get an error .. I can more easily track it to a specific line : //------------------------------------------------------------------------------//METHOD ...
by Rick Lipkin
Thu Aug 13, 2009 12:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

... dreaded error again .. I have set up an appointment to visit this user and see what in the world is going on here .. restored the default xbrowse setado and oBrw := NIL Rick Application===========   Path and name: J:\VEHICLE\Veh32.Exe (32 bits)   Size:   969,728 ...
by Rick Lipkin
Mon Aug 10, 2009 6:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Gentleman .. I have restored the origional 9.04 setado method code in xbrowse.prg and here is what the recommended code looks like .. please let me know if I have missed anything .. The code compiles and seems to run for me : nWd := GetSysMetrics(0) ...
by Rick Lipkin
Sun Aug 09, 2009 5:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

... correctly, if the record set record count is zero then oRs:RecordCount() will error out? If so, then we can try changing bBookMark to (in the SetADO() method): ::bBookMark := {| n | If( n == nil,;                      If( ::oRs != nil .and. If( ::oRs:BOF() .AND. oRs:EOF(),0, ::oRs:RecordCount() ...
by James Bott
Sat Aug 08, 2009 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

... error stack: Stack Calls =========== Called from: source\rtl\win32ole.prg => TOLEAUTO:RECORDCOUNT(0) Called from: xbrowse.prg => (b)TXBROWSE:SETADO(3765) Called from: xbrowse.prg => TXBROWSE:PAINT(1254) Paint() line 1254 nBookMark := Eval( ::bBookMark ) SetADO() line 3765 ::bKeyCount := ...
by James Bott
Sat Aug 08, 2009 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

James Just sent you the xbrowse class .. from 9.04 ( not 9.06 .. my mistake ) .. the SetAdo method is around line 3754. Hope your extra set of eyes can shed some light on this problem .. and I think it may be related to the 'print screen' utility these specific users ...
by Rick Lipkin
Sat Aug 08, 2009 3:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Rick, >Using FWH 9.06 .. look at xbrowse.prg around line 3758 .. I still don't see a call to setAdo(). There are only two calls to setAdo() in my source, one in each of these methods: Initiate() XbrwSetDataSource() That's all. Is line 3758 in the Paint() method of your ...
by James Bott
Sat Aug 08, 2009 12:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Rick,

I am confused by your error listing. I cannot find a call to setAdo() anywhere in the TXBrowse:Paint() method.

What version of FW are you using? Do you see a call to setAdo() in your Paint() method? Are you using a modified version of TXBrowse?

I am using FWH 9.05.

Regards,
James
by James Bott
Fri Aug 07, 2009 11:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant ADO xBrowse error ( thread with Antonio )

James Here is the latest iteration of the setado method and the GetKeycount() trap for the recordset being nil. Upon a valid close .. for some reason the ::oRs becomes nil prematurely or ( perhaps ) the SetAdo method is being called after the ...
by Rick Lipkin
Sun Aug 02, 2009 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4167

Re: Intermittant ADO xBrowse error ( thread with Antonio )

... ( IIF( !lOK, ( oBrw:End(), _VehClose(.T.) ), .F. )) Antonio made this suggestion so that the listbox does not repaint .. but for some reason the setado method still fires even after the oRs:Close() .. and that is why we tried to work around that in that method to avoid the nil value of oRs .. ...
by nageswaragunupudi
Wed Jul 22, 2009 11:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4167

Re: Intermittant ADO xBrowse error ( thread with Antonio )

... ( IIF( !lOK, ( oBrw:End(), _VehClose(.T.) ), .F. )) Antonio made this suggestion so that the listbox does not repaint .. but for some reason the setado method still fires even after the oRs:Close() .. and that is why we tried to work around that in that method to avoid the nil value of oRs .. ...
by Rick Lipkin
Wed Jul 22, 2009 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4167

Re: Intermittant ADO xBrowse error ( thread with Antonio )

To All Antonio has been working with me on the above subject .. I contuinue to get intermittant ADO errors in the setado method of code .. Here is the thread and some of the suggested fixes .. if anyone would like to add their comments .. please feel free .. this problem still ...
by Enrico Maria Giordano
Wed Jul 22, 2009 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4167

Intermittant ADO xBrowse error ( thread with Antonio )

To All Antonio has been working with me on the above subject .. I contuinue to get intermittant ADO errors in the setado method of code .. Here is the thread and some of the suggested fixes .. if anyone would like to add their comments .. please feel free .. this problem still persists ...
by Rick Lipkin
Tue Jul 21, 2009 11:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant ADO xBrowse error ( thread with Antonio )
Replies: 11
Views: 4167

Re: TProgress en Windows Vista

... 0, 100 ), oProg2:SetStep( 1 ) ) return nil function Increase( oProg1, oProg2 ) local n Por que aqui no for next é 111 e não é 100 como o setado acima no on init da dialog ----->>>>> oProg1:SetRange( 0, 100 ) for n = 1 to 111 oProg1:SetPos( n ) oProg2:SetPos( n ) Sleep( ...
by marca
Wed May 13, 2009 7:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TProgress en Windows Vista
Replies: 16
Views: 3337

Re: AYUDA CON TSBROWSE Y ADO

En la versión 8 de tu TSBrowse incluíste método ::SetAdo() pero lo desactivaste y hay dos métodos no definidos: AdoSkyp y AdoGenFldBlk. Ya completaste ese código ? Podrías, por favor indicarme como completarlo ? Hola Carlos: Aunque ya funciona, todavía ...
by mmercado
Sat Apr 11, 2009 3:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA CON TSBROWSE Y ADO
Replies: 15
Views: 2504
PreviousNext

Return to advanced search

cron