Click here to Skip to main content
15,920,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: I cant seem to think today. Pin
Luc Pattyn6-Jan-07 19:11
sitebuilderLuc Pattyn6-Jan-07 19:11 
QuestionHow to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
new_era886-Jan-07 14:08
new_era886-Jan-07 14:08 
AnswerRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
Captain See Sharp6-Jan-07 17:05
Captain See Sharp6-Jan-07 17:05 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
Luc Pattyn6-Jan-07 18:25
sitebuilderLuc Pattyn6-Jan-07 18:25 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
new_era887-Jan-07 7:07
new_era887-Jan-07 7:07 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
Captain See Sharp7-Jan-07 7:29
Captain See Sharp7-Jan-07 7:29 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
new_era887-Jan-07 8:16
new_era887-Jan-07 8:16 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
Captain See Sharp7-Jan-07 8:25
Captain See Sharp7-Jan-07 8:25 
Use the System.Windows.Timer, I tried it and it works. Text gets set to the clipboard and when I get it out it is the text I put in.

Also the [STAThread] attribute is set (it is default for WinForms apps) just in case it is not currently set to that in your project.


█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
new_era887-Jan-07 8:51
new_era887-Jan-07 8:51 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
WillemM7-Jan-07 7:34
WillemM7-Jan-07 7:34 
GeneralRe: How to set a System.Timers.Timer to Single Thread Apartmentstate (STA)? Pin
Luc Pattyn7-Jan-07 8:00
sitebuilderLuc Pattyn7-Jan-07 8:00 
QuestionHelp needed converting string hash values into binary... Pin
rvp717y6-Jan-07 12:45
rvp717y6-Jan-07 12:45 
AnswerRe: Help needed converting string hash values into binary... Pin
Guffa6-Jan-07 13:45
Guffa6-Jan-07 13:45 
GeneralRe: Help needed converting string hash values into binary... Pin
rvp717y6-Jan-07 14:59
rvp717y6-Jan-07 14:59 
GeneralRe: Help needed converting string hash values into binary... Pin
Luc Pattyn6-Jan-07 18:39
sitebuilderLuc Pattyn6-Jan-07 18:39 
GeneralRe: Help needed converting string hash values into binary... Pin
rvp717y7-Jan-07 5:02
rvp717y7-Jan-07 5:02 
GeneralRe: Help needed converting string hash values into binary... Pin
rvp717y7-Jan-07 5:44
rvp717y7-Jan-07 5:44 
Question[Message Deleted] Pin
code_wiz6-Jan-07 11:51
code_wiz6-Jan-07 11:51 
AnswerRe: ListView/TreeView controls vs. Databinding in .NET 2.0 Pin
Nader Elshehabi7-Jan-07 2:46
Nader Elshehabi7-Jan-07 2:46 
QuestionC# Monitors [modified] Pin
manustone6-Jan-07 10:27
manustone6-Jan-07 10:27 
AnswerRe: C# Monitors Pin
gnadeem6-Jan-07 11:42
gnadeem6-Jan-07 11:42 
GeneralRe: C# Monitors Pin
manustone8-Jan-07 4:06
manustone8-Jan-07 4:06 
QuestionHow do I send cmds to a dvd drive in C#? Pin
try{}catch{}6-Jan-07 10:06
try{}catch{}6-Jan-07 10:06 
AnswerRe: How do I send cmds to a dvd drive in C#? Pin
Ed.Poore6-Jan-07 11:13
Ed.Poore6-Jan-07 11:13 
GeneralRe: How do I send cmds to a dvd drive in C#? Pin
tophor26-Jan-07 15:44
tophor26-Jan-07 15:44 

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.