Search found 42 matches: timing

Return to advanced search

Re: Close ADO-connection

Marc,

Marc Vanzegbroeck wrote:
Code: Select all  Expand view
oSQL:=nil
 


This is not needed.

Marc Vanzegbroeck wrote:How can I close the connection completely with ADO?


Code: Select all  Expand view
oSQL:close()


Should be enough. It might be a timing issue. Try to insert a delay between close() and ferase().

EMG
by Enrico Maria Giordano
Sun Jul 14, 2013 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close ADO-connection
Replies: 34
Views: 10318

Re: file() -returns .f. when file is present?

Hi Otto;

The problem was timing. WinExec() hadn't finished before the check for file() was being executed. I changed WinExec for Waitrun() and that fixed the timing problem.

Thank you,


Reinaldo.
by reinaldocrespo
Thu Jan 05, 2012 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: file() -returns .f. when file is present?
Replies: 4
Views: 669

Re: MS Access problem

... very beginning and using oRs:Filter conditions to give me my relational records... I would rather not do that, but this problem seems like a IO timing issue with Access. Rick Lipkin That was my second one idea. in fact I do that way but with MySql, I have a PRG with ten tables and not problem ...
by Armando
Thu Oct 13, 2011 6:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS Access problem
Replies: 12
Views: 4604

Re: MS Access problem

... made sense .. but it had no effect .. the magic number seems to be 7 opens and closes and then the 4th table or so refuses to open. I have had timing issues with Access during the data conversion with multiple records being added and updated .. I had to put SysWait() in between the oRs:Update()s ...
by Rick Lipkin
Thu Oct 13, 2011 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS Access problem
Replies: 12
Views: 4604

MS Access problem

... quit the Master Property table and re-open the Property table and once again the relational tables open. Unfortunitly I do not know if this is a timing issue with Access or resource problem ? When I close the detail screen I am closing all the relational tables and I know they are all closing ...
by Rick Lipkin
Thu Oct 13, 2011 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS Access problem
Replies: 12
Views: 4604

Re: XML communication with another program

... where it stores the xml document. The problem happens when it chains several calls to that function, and each time sends a new document. The timing was such that it was very quick. I changed this by modifying the called function. Each time it is called, the document it receives is added to ...
by TimStone
Thu Oct 13, 2011 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML communication with another program
Replies: 4
Views: 1289

Re: North America Users

Interested, yes, but timing and location would be the issue. Usually to pull this off it takes a lot of people. I used to attend many xbase conferences and they were always fun.
by TimStone
Tue May 31, 2011 11:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: North America Users
Replies: 18
Views: 3443

Re: dbskipper intermitent error

... called. Logic would also say that the if select( cAlias ) = 0 trap didn't work because the alias was still valid at that point. Possibly, it is a timing issue that a sysrefresh() or dbcommit() would solve. Or maybe, ::cAlias is nil and thus select( ::cAlias ) just returns the current workarea ...
by James Bott
Wed Oct 14, 2009 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbskipper intermitent error
Replies: 46
Views: 9737

Re: tooltip timing

Perfect. Thanks for the help
by hag
Mon Oct 05, 2009 7:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946

Re: tooltip timing

Harvey,

#define TTM_SETDELAYTIME (WM_USER + 3)
#define TTDT_AUTOPOP 2

Those values are defined in c:\bcc55\include\commctrl.h
by Antonio Linares
Mon Oct 05, 2009 6:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946

Re: tooltip timing

Antonio: Doesnt work :cry: I need to define the ttm_setdelaytime #define TTM_SETDELAYTIME ??? what value #define TTDT_AUTOPOP ??? what value I placed SendMessage( hWnd, TTM_SETDELAYTIME, TTDT_AUTOPOP, nMakeLong( 6000, 0 ) ) below the endif in the array if endif statement. Nothing happens BUT If I se...
by hag
Mon Oct 05, 2009 4:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946

Re: tooltip timing

Harvey,

Your code should go outside of that if ... endif unless you plan to use an array for the tooltip info:

Code: Select all  Expand view

SendMessage( hWnd, TTM_SETDELAYTIME, TTDT_AUTOPOP, nMakeLong( 6000, 0 ) )
 
by Antonio Linares
Sun Oct 04, 2009 11:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946

Re: tooltip timing

Yes I know. This seems to be the location where the attribures of the tooltip take place but the if statement == "A" is a problem since the tooltip is a "C". I may be way off but i couldn't find any othe place in window.prg where the tool yip is adjusted. if ValType( cToolTip...
by hag
Sun Oct 04, 2009 4:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946

Re: tooltip timing

Harvey,

That was not a solution, just the section of code where the solution needs to go.

Antonio was requesting feedback on any other properties that we might want to also add at the same time as the timing fix. I haven't looked at the docs yet.

James
by James Bott
Sun Oct 04, 2009 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946

Re: tooltip timing

Antonio:
Read the information you sent looked at the code. Looked at window.prg and I cant seem to figure out what to do. :cry:
by hag
Sun Oct 04, 2009 3:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tooltip timing
Replies: 13
Views: 1946
PreviousNext

Return to advanced search