I get this exception when I tying...
Function Main() is already marked with attribute [STAThread]Code:SaveFileDialog dlg = new SaveFileDialog(); dlg.Filter = "binary files (*.bin)|*.bin"; dlg.FilterIndex = 1; dlg.RestoreDirectory = true; dlg.ShowDialog(); //Exception throwed
My program consists with many threads .




Reply With Quote