am using C#.net 1.1 while using clipboard m geeting this exception
System.Threadin g.ThreadStateEx ception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttrib ute marked on it.
at System.Windows. Forms.Clipboard .GetDataObject( )
System.Threadin g.ThreadStateEx ception: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttrib ute marked on it.
at System.Windows. Forms.Clipboard .GetDataObject( )
Comment