Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dijkstra algorithm Pin
leppie18-Aug-03 8:24
leppie18-Aug-03 8:24 
GeneralRe: Dijkstra algorithm Pin
devvvy18-Aug-03 15:12
devvvy18-Aug-03 15:12 
GeneralRe: Dijkstra algorithm Pin
J. Dunlap18-Aug-03 15:20
J. Dunlap18-Aug-03 15:20 
GeneralRe: Dijkstra algorithm Pin
Julian Bucknall [MSFT]18-Aug-03 12:55
Julian Bucknall [MSFT]18-Aug-03 12:55 
GeneralRe: Dijkstra algorithm Pin
jphuphilly19-Aug-03 2:27
jphuphilly19-Aug-03 2:27 
GeneralRe: Dijkstra algorithm Pin
Julian Bucknall [MSFT]19-Aug-03 6:56
Julian Bucknall [MSFT]19-Aug-03 6:56 
GeneralTyped DataSet Generation Fine-tuning Pin
sirovsky18-Aug-03 1:54
sirovsky18-Aug-03 1:54 
GeneralCtrl-C with error Pin
A.Wegierski17-Aug-03 23:33
A.Wegierski17-Aug-03 23:33 
When I click Ctrl-C in my control inherited from TextBox I get following exception (and "c" letter is written to the TextBox):

The current thread must set to Single Thread Apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it

in ProcessDialogKey() method. Stack trace is:

System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy)
System.Windows.Forms.Clipboard.SetDataObject(Object data)
System.Windows.Forms.DataGrid.ProcessDialogKey(Keys keyData)


Any other OLE calls (Ctrl-V etc.) doesn't cause such errors.

May be someone know what happens and how to avoid it?
Thx in advance

Hi,
AW
GeneralRe: Ctrl-C with error Pin
sirovsky18-Aug-03 3:02
sirovsky18-Aug-03 3:02 
GeneralRe: Ctrl-C with error Pin
A.Wegierski19-Aug-03 19:20
A.Wegierski19-Aug-03 19:20 
GeneralRe: Ctrl-C with error Pin
Ista18-Aug-03 5:58
Ista18-Aug-03 5:58 
GeneralWhat's the point of Remoting if you need to "Add Reference" Pin
devvvy17-Aug-03 22:20
devvvy17-Aug-03 22:20 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
James T. Johnson18-Aug-03 3:27
James T. Johnson18-Aug-03 3:27 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
devvvy18-Aug-03 5:20
devvvy18-Aug-03 5:20 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
James T. Johnson18-Aug-03 5:44
James T. Johnson18-Aug-03 5:44 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
devvvy18-Aug-03 6:51
devvvy18-Aug-03 6:51 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
James T. Johnson18-Aug-03 11:27
James T. Johnson18-Aug-03 11:27 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
devvvy18-Aug-03 15:07
devvvy18-Aug-03 15:07 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
James T. Johnson18-Aug-03 15:26
James T. Johnson18-Aug-03 15:26 
GeneralRe: What's the point of Remoting if you need to "Add Reference" Pin
devvvy18-Aug-03 18:05
devvvy18-Aug-03 18:05 
QuestionWhere r the Shape and Line Controls??? Pin
pShay17-Aug-03 21:43
pShay17-Aug-03 21:43 
AnswerRe: Where r the Shape and Line Controls??? Pin
Sascha Andres17-Aug-03 23:27
Sascha Andres17-Aug-03 23:27 
AnswerRe: Where r the Shape and Line Controls??? Pin
Ista18-Aug-03 16:59
Ista18-Aug-03 16:59 
Generalexposing remoting from ASP.NET Pin
devvvy17-Aug-03 20:37
devvvy17-Aug-03 20:37 
Question"as" keyword in C#? Pin
devvvy17-Aug-03 20:06
devvvy17-Aug-03 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.