From: exebat on 25 Mar 2010 00:39 Hi all. I tried searching but I can find any solution. I have a code that reads some data from database, send it to other application and waits for response. Since this other application (not written by me) sometimes just wont respond, my program freezes. How can I add some kind of timeout to my code so it would only wait for about 10-20 seconds and if nothing happens it would stop the code ?
From: GBA on 25 Mar 2010 09:55 there is a timer function available in the form property. thus have a form open and check out properties, and do a little research in this area.... "exebat" wrote: > Hi all. > > I tried searching but I can find any solution. > > I have a code that reads some data from database, send it to other > application and waits for response. Since this other application (not > written by me) sometimes just wont respond, my program freezes. > > How can I add some kind of timeout to my code so it would only wait > for about 10-20 seconds and if nothing happens it would stop the code ? > . >
From: 136899587 on 26 Mar 2010 06:34 "exebat" <srdjan.vasiljevic(a)gmail.com> ???? news:025edef4-b755-4877-98d0-402c05b16b66(a)30g2000yqi.googlegroups.com... > Hi all. > > I tried searching but I can find any solution. > > I have a code that reads some data from database, send it to other > application and waits for response. Since this other application (not > written by me) sometimes just wont respond, my program freezes. > > How can I add some kind of timeout to my code so it would only wait > for about 10-20 seconds and if nothing happens it would stop the code ?
|
Pages: 1 Prev: Outlook Express 6 Next: Query - Identify & group records |