Click here to Skip to main content
15,902,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expressions Pin
ChrisKo18-Sep-07 10:50
ChrisKo18-Sep-07 10:50 
GeneralRe: Regular Expressions Pin
Rocky Moore18-Sep-07 10:53
Rocky Moore18-Sep-07 10:53 
GeneralRe: Regular Expressions Pin
Shog918-Sep-07 11:03
sitebuilderShog918-Sep-07 11:03 
GeneralRe: Regular Expressions Pin
#realJSOP18-Sep-07 23:45
professional#realJSOP18-Sep-07 23:45 
JokeRe: Regular Expressions Pin
Rama Krishna Vavilala18-Sep-07 11:04
Rama Krishna Vavilala18-Sep-07 11:04 
GeneralRe: Regular Expressions Pin
markkuk18-Sep-07 11:07
markkuk18-Sep-07 11:07 
GeneralWeb Development Pin
Andy Brummer18-Sep-07 11:45
sitebuilderAndy Brummer18-Sep-07 11:45 
GeneralRe: Web Development Pin
#realJSOP18-Sep-07 23:43
professional#realJSOP18-Sep-07 23:43 
GeneralRe: Web Development Pin
Andy Brummer19-Sep-07 2:06
sitebuilderAndy Brummer19-Sep-07 2:06 
GeneralRe: Web Development Pin
#realJSOP19-Sep-07 5:50
professional#realJSOP19-Sep-07 5:50 
GeneralRe: Web Development Pin
Andy Brummer19-Sep-07 6:10
sitebuilderAndy Brummer19-Sep-07 6:10 
JokeRe: Regular Expressions Pin
Dan Neely18-Sep-07 12:37
Dan Neely18-Sep-07 12:37 
GeneralRe: Regular Expressions Pin
Chris Maunder18-Sep-07 18:52
cofounderChris Maunder18-Sep-07 18:52 
GeneralRe: Regular Expressions Pin
#realJSOP18-Sep-07 23:35
professional#realJSOP18-Sep-07 23:35 
GeneralRe: Regular Expressions Pin
Christian Graus18-Sep-07 22:27
protectorChristian Graus18-Sep-07 22:27 
GeneralRe: Regular Expressions Pin
JimmyRopes19-Sep-07 2:53
professionalJimmyRopes19-Sep-07 2:53 
QuestionCan you hack numericupdown's to change button width? Pin
aei_totten18-Sep-07 10:17
aei_totten18-Sep-07 10:17 
AnswerRe: Can you hack numericupdown's to change button width? Pin
TJoe25-Sep-07 10:01
TJoe25-Sep-07 10:01 
QuestionHow to: Make Thread-Safe Calls to Windows Forms Controls Pin
gizmokaka18-Sep-07 10:16
gizmokaka18-Sep-07 10:16 
Hi to all, I work on an application that takes measurements from a piece of hardware, and
then manipulates it.
my problem is that while collecting the measurement my program gets stuck, meaning if I do something else on my PC at the same time, when I return to my form it is blank.
I understand it's a matter of threading.
the problem is I can't call my callback function passed to the new thread with the ProgressBar parameter.
my Form creates a ProgressBar that my collecting function is supposed to operate, but it can't.
I get the error,

Cross-thread operation not valid: Control 'progressBarSampling' accessed from a thread other than the thread it was created on.

What I want to achieve is to be able to pass the Form's progressbar as parameter to my function
so it can use it.

Any help will be most appreciated.

regards.
AnswerRe: How to: Make Thread-Safe Calls to Windows Forms Controls Pin
Pete O'Hanlon18-Sep-07 10:22
mvePete O'Hanlon18-Sep-07 10:22 
GeneralRe: How to: Make Thread-Safe Calls to Windows Forms Controls Pin
gizmokaka18-Sep-07 10:25
gizmokaka18-Sep-07 10:25 
GeneralRe: How to: Make Thread-Safe Calls to Windows Forms Controls Pin
Pete O'Hanlon18-Sep-07 10:28
mvePete O'Hanlon18-Sep-07 10:28 
GeneralRe: How to: Make Thread-Safe Calls to Windows Forms Controls Pin
gizmokaka18-Sep-07 10:41
gizmokaka18-Sep-07 10:41 
GeneralRe: How to: Make Thread-Safe Calls to Windows Forms Controls Pin
Dave Kreskowiak18-Sep-07 10:48
mveDave Kreskowiak18-Sep-07 10:48 
GeneralRe: How to: Make Thread-Safe Calls to Windows Forms Controls Pin
gizmokaka18-Sep-07 11:01
gizmokaka18-Sep-07 11:01 

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.