Hey guys. I am currently making a program that send email (thru SMTP) and I'm halfway done with it. But, I wanted to add multi-threading to it so that when the program is in the process of sending the email, the program is still responsive. I did attempt multi-threading but, yea, I failed. No errors were found but it won't just do what I want it to do. The program is still unresponsive. My question may sound noobish to people out there, but I'm just a beginner at this thing. Hope you understand
the easiest way is just to use a background worker from the tools section in the gui builder, then do your send mail code in there, you could actually program another thread but for your purposes i think background worker is the easiest
I think The Dev can help you with it. I know he knows how to do cross thread stuff the right way If you have anything else just ask me also. I love VB.NET
The Timer.Stop() needs to be Invoked in order for it to function properly - Also create Private Shared global variables to be on the safe side of things - The way you have it now it does a cross thread call to get the information in your text boxes.