Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello, I hope someone can help me figure this out. I have coded an application that will send a mail message to a list of about 250 e-mail addresses. The program connects to a database in order to retrieve this list, then adds them to an Array and then goes through this erray to send the mail message to each address. This process works fine, but I wanted to have my program display in a label a message that shows the user what is the program doing at a certain point. For example:

"Connecting to database..."

"Retrieving list of addresses..."

"Sending message to: address@email.com"

etc..

 

The problem is that as soon as I click on the Submit button the program freezes all through the process and I am only able to see the last message when all the process is finished.

 

Is there something that I am missing so that the program will actually preserve its flow and display all messages while going through the entire process?

 

Any help will be appreciated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...