ActiveX control 'xxx' cannot be instantiated because the current thread is not in a single-threaded apartment.
Please use appropriate attribute: /// /// The main entry point for the application. /// [STAThread] // !!!!!!!!!!!!!!! static void Main() { Application.Run(new MainForm()); }
No comments:
Post a Comment