08-16-2007 11:15 PM
Thank u so much for your timely help sir.
For any doubts regarding this,i will get back to you.
Thanks once again
08-28-2007 03:48 AM
Hai
Can i ask you one more doubt sir?
In my application i have set the event time out as 3600000 so the event will be executed each hour.
My application is for sending email automatically.Each hour mail should be sent to the recepient fetching appropriate data from database.
Each hour the application is sending previous hours data.ie,at 2' O clock its sending 1 O Clocks data
Actually the application has two options one to send manually and the other to send automatically.
Suppose the application send mail at 02:05:00 automatically then its supposed to send the next email at 03:05:00(ofcourse there will be 1 or 2 minute difference depending on the complexity of fetching).But at 02:59:00 the application is being used to send mail manually.
So instead of sending automatic mail at 03:05:00 the mail will be sent ony at 03:59:00(because of the user interaction at 02:58:00 which occured at a buttons click event) and may result even in not sending the email at a particular hr..How can i make my auto sending module unaffected from user interaction(i am aware that timeout occur only when no other specified events occur )..So how can i solve my problem?
Thanks once again
08-29-2007 08:37 AM
08-29-2007 08:55 AM
08-29-2007 08:45 PM
Thanx for the reply sir.
I am doubtful on the scenario because of the following reasons.
In my uinderstanding,the time out will occur only if no other events occured.I have given the manual mail sending option as an event that happens in the mouse down of a button.If the button clicking event occured just 5 mts b4 the automail is supposed to send.Then will the timeout occur in the intended time(just after 5 mts)again ,eventhough another event occured meanwhile?.Or will it take 55 mts more for the next time out?
(The scenario i mentioned was the following.
Suppose the application send mail at 02:05:00 automatically then its supposed to send the next email at 03:05:00(ofcourse there will be 1 or 2 minute difference depending on the complexity of fetching).But at 03:00:00 the application is being used to send mail manually. My code for sending mail is inside timeout event)
Please give me an advice regarding this.
Thanks once again
08-30-2007 01:38 AM - edited 08-30-2007 01:38 AM
Hi All,
I don't know whether User_1 is using the Emailer.vi, but I fear there's a bug that would cause a one-loop delay after pressing "Email Enabled". The boolean button is being checked before the event-stru, so will (i think) pass-through a FALSE, even when the False-to-True event occurs.
It's fixed in the attached Rev_2 of Brian's Rev_1 - -)
Cheers.
Message Edited by tbd on 08-30-2007 01:40 AM
Message Edited by tbd on 08-30-2007 01:51 AM
08-30-2007 07:27 AM