473,386 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to send Email when process is getting delayed

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
1 1498
MMcCarthy
14,534 Expert Mod 8TB
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

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

Similar topics

5
by: G520 | last post by:
Hi I have been getting statistical rapports from a machine via a telnet server. Until now it has been done manually. However I want to automate the proccess, and scedule a PHP script to run...
1
by: Gernot Hillier | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm the developer of a Linux ISDN application which uses embedded Python for controlling the communication. It starts several threads (i.e....
29
by: | last post by:
I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored. I think is it ignored because it throws no errors, neither does the...
4
by: jas | last post by:
I have a basic client/server socket situation setup....where the server accepts a connection and then waits for commands. On the client side, I create a socket, connect to the server...then I...
3
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi There, I use follow code to send email inside VB.NET 2005. It does not work well. Error message of "Failure sending email" would occue. However, email was sent out sometimes. I am confused...
5
by: Mike | last post by:
I have a page with a textbox that a user can enter in mutliple email addresses such as: user1@yahoo.com;user2@yahoo.com;user3@gmail.com; and so on, I then have a foreach loop to get all of the...
5
by: Mirxon | last post by:
Hello, I'm working on a C program under Ubuntu. It's basd on socket. Browser calls a client cgi (C program), and send some parameters to server (C program). Server runs another program...
1
by: vijayarl | last post by:
Hi All, I need to send a email based on the flag value, am using Email::Send module(CPAN). Requirement : 1.Based on the $email_flag, call the send_email function so, script goes like this: ##...
2
by: jcrum00 | last post by:
My asp script used to be able to send email to an unlimited amount of users. But a couple weeks ago I started getting this error message "transport failed to connect to server". So I increased...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.