We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

MainBarManager [STAThread]

Why if i delete the [STAThread] before the static void Main function, in debuger mode (only), there is an exception error when the form instantiates the MainBarManager ? TargetException thanks

1 Reply

RP Ramesh Praveen Syncfusion Team May 13, 2003 12:29 PM UTC

This is becuase whenever you use Ole Drag and Drop (the menus use this) it is required that your app run in a STAThread. Regards, Praveen

Live Chat Icon For mobile
Up arrow icon