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

C#

 
GeneralRe: Class Pin
shamsteady10-Mar-07 9:15
shamsteady10-Mar-07 9:15 
Questionws security Pin
George-Lucian10-Mar-07 2:29
George-Lucian10-Mar-07 2:29 
QuestionConverting Time string into DateTime Object Pin
Iman Daoodian10-Mar-07 2:10
Iman Daoodian10-Mar-07 2:10 
AnswerRe: Converting Time string into DateTime Object Pin
Stefan Troschuetz10-Mar-07 2:30
Stefan Troschuetz10-Mar-07 2:30 
Questionhow to use Crystal Report in my VC#2005 Professionally? Pin
hdv21210-Mar-07 0:29
hdv21210-Mar-07 0:29 
AnswerRe: how to use Crystal Report in my VC#2005 Professionally? Pin
waleed9910-Mar-07 5:36
waleed9910-Mar-07 5:36 
QuestionCheckForIllegalCrossThreadCalls Pin
marwan_siala10-Mar-07 0:25
marwan_siala10-Mar-07 0:25 
AnswerRe: CheckForIllegalCrossThreadCalls Pin
Stefan Troschuetz10-Mar-07 0:40
Stefan Troschuetz10-Mar-07 0:40 
CheckForIllegalCrossThreadCalls is a property of the Control class (a parent of Button). The property is not shown in the visual designer but you can easily change its value in code. For example include the following line in the constructor: button1.CheckForIllegalCrossThreadCalls = false;
Though this would suppress the exception, I do not recommend setting CheckForIllegalCrossThreadCalls false, since accessing a control from a thread other than the thread it was created on could lead to unexpected behaviour e.g. freezing of your application. Instead you should use Invoke or BeginInvoke to execute the alteration of the control on the thread it was created on. take a look at this nice article for more info: What's up with BeginInvoke?[^]


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

QuestionHow to send mail with out using SMTP Pin
kk.tvm9-Mar-07 21:18
kk.tvm9-Mar-07 21:18 
AnswerRe: How to send mail with out using SMTP Pin
Udhaya Kumar.D10-Mar-07 4:14
Udhaya Kumar.D10-Mar-07 4:14 
AnswerRe: How to send mail with out using SMTP Pin
Dave Kreskowiak10-Mar-07 4:23
mveDave Kreskowiak10-Mar-07 4:23 
AnswerRe: How to send mail with out using SMTP Pin
S. Senthil Kumar10-Mar-07 5:04
S. Senthil Kumar10-Mar-07 5:04 
QuestionObject creation Pin
SwaSubhaVijju9-Mar-07 20:40
SwaSubhaVijju9-Mar-07 20:40 
AnswerRe: Object creation Pin
Stefan Troschuetz9-Mar-07 21:10
Stefan Troschuetz9-Mar-07 21:10 
AnswerRe: Object creation Pin
Luc Pattyn9-Mar-07 23:45
sitebuilderLuc Pattyn9-Mar-07 23:45 
GeneralRe: Object creation Pin
S. Senthil Kumar10-Mar-07 5:05
S. Senthil Kumar10-Mar-07 5:05 
AnswerRe: Object creation Pin
haseeb_saeed10-Mar-07 0:12
haseeb_saeed10-Mar-07 0:12 
AnswerRe: Object creation Pin
Colin Angus Mackay10-Mar-07 3:33
Colin Angus Mackay10-Mar-07 3:33 
AnswerRe: Object creation Pin
S. Senthil Kumar10-Mar-07 5:07
S. Senthil Kumar10-Mar-07 5:07 
Questionselected event of CheckedListBox--plz help Pin
pashitech9-Mar-07 19:10
pashitech9-Mar-07 19:10 
AnswerRe: selected event of CheckedListBox--plz help Pin
Stefan Troschuetz9-Mar-07 21:08
Stefan Troschuetz9-Mar-07 21:08 
GeneralRe: selected event of CheckedListBox--plz help Pin
Wayne Phipps10-Mar-07 1:03
Wayne Phipps10-Mar-07 1:03 
Questionselected event of CheckedListBox--plz help Pin
pashitech9-Mar-07 19:08
pashitech9-Mar-07 19:08 
Questionhow to draw listbox items with different itemheight when i selected a item Pin
goldli9-Mar-07 18:26
goldli9-Mar-07 18:26 
AnswerRe: how to draw listbox items with different itemheight when i selected a item Pin
Mike Hankey10-Mar-07 2:48
mveMike Hankey10-Mar-07 2:48 

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.