Search found 83 matches: intermittant

Return to advanced search

Re: Intermittant xBrowse ADO error ( again )

Enrico, I did read your other reply and I do understand about the Windows issue. It doesn't matter if you can end the FW object because the object is still running under windows and thus it can still error out if the database source is ended. This is the point. No. Please look at what End() method ...
by Enrico Maria Giordano
Wed Aug 12, 2009 8:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico, I did read your other reply and I do understand about the Windows issue. It doesn't matter if you can end the FW object because the object is still running under windows and thus it can still error out if the database source is ended. This is the point. I am going to email my test program to...
by James Bott
Wed Aug 12, 2009 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

James Bott wrote:Enrico,

Are you sure you ran the right test program?


Yes. Please read carefully my other reply.

EMG
by Enrico Maria Giordano
Wed Aug 12, 2009 8:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico, Are you sure you ran the right test program? Here it errors out immediately after pressing the button. And you can see the Paint() method is being called just like the problem Rick is having. Using FWH 9.05, running under XP Pro. James ===========   Path and name: C:\Documents and Settings\J...
by James Bott
Wed Aug 12, 2009 7:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

James Bott wrote:Enrico,

OK, here is a working example that errors out.


Sorry, it doesn't error out here. I click on the button and get O. No errors. What am I missing?

EMG
by Enrico Maria Giordano
Wed Aug 12, 2009 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Yes, you will see that it is destroyed, but in fact it is not. Try this line instead: define button of oBar action (oBrw:End(), oBrw:display(), msgInfo(valtype(oBrw)) ) It does not error out when oBrw:display() is called, and oBrw is still an "O" type, thus not destroyed. So, even though ...
by Enrico Maria Giordano
Wed Aug 12, 2009 7:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico, OK, here is a working example that errors out. James #include "FiveWin.ch"#include "xbrowse.ch"function Main()   local oWnd, oBrw, oBar, aArray := { { "one","two","three" } }   DEFINE Window oWn...
by James Bott
Wed Aug 12, 2009 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico, >Please try this modified version of your test and you will see that oBrw:End() effectively destroys the browse: Yes, you will see that it is destroyed, but in fact it is not. Try this line instead: define button of oBar action (oBrw:End(), oBrw:display(), msgInfo(valtype(oBrw)) ) It does...
by James Bott
Wed Aug 12, 2009 6:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico Using 9.06 the sample closed the listbox but not the window .. It's the expected behavior. oCtl:End() only destroys oCtl control. oWnd:End() closes the window. oBrw:End() closes the listbox but leaves the Window open and subject to 'paint' Can you replicate this behavior (browse destroyed, w...
by Enrico Maria Giordano
Wed Aug 12, 2009 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

... and or recordset .. and I think this is the run-time I am experiencing .. I am still trying to determine under what circumstances cause the intermittant xbrowse code blocks to fire .. that is where I am at the moment. Rick
by Rick Lipkin
Wed Aug 12, 2009 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Please try this modified version of your test and you will see that oBrw:End() effectively destroys the browse: #include "FiveWin.ch"#include "xbrowse.ch"function Main()   local oWnd, oBrw   DEFINE Window oWnd   define buttonbar oBar of oWnd&...
by Enrico Maria Giordano
Wed Aug 12, 2009 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico, >A control can be released using the End() method. Contrary to popular belief, this is not always true. Did you read all this thread? You can do an oBrw:End() and the browse continues to exist and work. See my sample code in a previous post showing how to test this. So, even after you do ...
by James Bott
Mon Aug 10, 2009 10:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

Enrico, Apparently not, since it is an intermitant problem. Rick says it is only happening on two computers. In summary the issue is that the browse cannot be closed until the window is closed, and the recordset needs to be closed before the window. Under some circumstances if you close the records...
by Enrico Maria Giordano
Mon Aug 10, 2009 9:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212

Re: Intermittant xBrowse ADO error ( again )

To All Got my 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:  ...
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 )

Rao, Rick is using version 9.04, not 9.06. I expect the same code would still work wouldn't it? James Should work. Major change from 9.05 is all the code in End() method was moved to Destroy() method. In other words, if End() was not called in the program, resources were not getting released. But i...
by nageswaragunupudi
Mon Aug 10, 2009 5:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 13212
PreviousNext

Return to advanced search