Sinisterly
Visual Basic 2010 email sender - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework)
+--- Thread: Visual Basic 2010 email sender (/Thread-Visual-Basic-2010-email-sender)

Pages: 1 2


RE: Visual Basic 2010 email sender - ArkPhaze - 08-19-2013

Why do people still use MsgBox() instead of the MessageBox class, not use the With statement, not utilize constructor overloads, or dispose of their instances?... Just putting this out there openly, and as a hint to what I see wrong about this code. If the CLR wasn't responsible for automatic garbage collection, a good chunk of .NET programmers would all be screwed. It's existance is still no excuse for being lazy with disposing; the clean sweep carried out by the GC (at a time which can't be predicted unless you force the GC to recollect), is a very expensive task. Heck, it's expensive even if you force it.