By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,871 Members | 2,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,871 IT Pros & Developers. It's quick & easy.

How to send Email when process is getting delayed

P: 14
Hi,

My question :
If my process is taking more than 30 mins to complete, then i need to send out email to all the users.

I have two forms, 1 is "Main form" and another is dummy form, dummy form opens in Hidden mode.

In "Main Form" i have some process defined in Form Timer so thats the reason why i have created "Hidden Form", and in Hidden form timer I am calculating time difference.

My problem is when i am running the process from Main form, how to activate my dummy Hidden form inorder to in order to send email to the distrubution list.

I appreciate if you can help me from this problem.
Oct 23 '06 #1
Share this Question
Share on Google+
1 Reply


MMcCarthy
Expert Mod 10K+
P: 14,534
You cannot run two processes at the same time. Any notifications would have to be triggered by the original process. Set up a timer at the start of the process. Check the timer at regular intervals. When time >= 30 minutes then stop process make hidden form visible and do whatever then continue the process.



Hi,

My question :
If my process is taking more than 30 mins to complete, then i need to send out email to all the users.

I have two forms, 1 is "Main form" and another is dummy form, dummy form opens in Hidden mode.

In "Main Form" i have some process defined in Form Timer so thats the reason why i have created "Hidden Form", and in Hidden form timer I am calculating time difference.

My problem is when i am running the process from Main form, how to activate my dummy Hidden form inorder to in order to send email to the distrubution list.

I appreciate if you can help me from this problem.
Oct 23 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.