Bydefault VS.Net adorns the application main() method with the <STATHREAD> ATTRIBUTE .This informs the runtime that if the application makes use of classic COM type it should defulat to the single threaded model(STA).If the application in question is not making use of COM types, the STAThread attribute is ignored and can be safely removed.
|