Click here to Skip to main content
15,913,245 members
Home / Discussions / C#
   

C#

 
QuestionHow to create my own button [usercontrol? or what?] Pin
Matjaz-xyz4-Nov-08 2:34
Matjaz-xyz4-Nov-08 2:34 
AnswerRe: How to create my own button [usercontrol? or what?] Pin
cyber-drugs4-Nov-08 3:34
cyber-drugs4-Nov-08 3:34 
GeneralRe: How to create my own button [usercontrol? or what?] Pin
Matjaz-xyz4-Nov-08 3:41
Matjaz-xyz4-Nov-08 3:41 
GeneralRe: How to create my own button [usercontrol? or what?] Pin
cyber-drugs4-Nov-08 3:54
cyber-drugs4-Nov-08 3:54 
AnswerRe: How to create my own button [usercontrol? or what?] [modified] Pin
DaveyM694-Nov-08 3:47
professionalDaveyM694-Nov-08 3:47 
QuestionHow do display a form in a seperate thread Pin
EliottA4-Nov-08 2:27
EliottA4-Nov-08 2:27 
AnswerRe: How do display a form in a seperate thread Pin
dybs4-Nov-08 2:41
dybs4-Nov-08 2:41 
AnswerRe: How do display a form in a seperate thread Pin
Dave Kreskowiak4-Nov-08 3:35
mveDave Kreskowiak4-Nov-08 3:35 
EliottA wrote:
All I want to do is launch a form in a seperate thread


You cannot do this. All GUI, including other forms, must be launched on the app's main (GUI) thread. If you try to do this on another thread, it may work one time, but not another, and you'll get strange behaviors in the forms controls and rendering issues.

You put your work on other threads and Invoke functions on the forms to modify the controls for your threaded code. You cannot directly modify controls on threads other than the one that created the control.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: How do display a form in a seperate thread Pin
EliottA4-Nov-08 5:21
EliottA4-Nov-08 5:21 
GeneralRe: How do display a form in a seperate thread Pin
Dave Kreskowiak4-Nov-08 5:55
mveDave Kreskowiak4-Nov-08 5:55 
QuestionHow to read End of Line in C# Pin
Miss_hacker4-Nov-08 2:19
Miss_hacker4-Nov-08 2:19 
AnswerRe: How to read End of Line in C# Pin
#realJSOP4-Nov-08 2:22
professional#realJSOP4-Nov-08 2:22 
GeneralRe: How to read End of Line in C# Pin
Ashfield4-Nov-08 2:42
Ashfield4-Nov-08 2:42 
GeneralRe: How to read End of Line in C# Pin
CPallini4-Nov-08 9:37
mveCPallini4-Nov-08 9:37 
QuestionComparing excel data to XML Pin
ndroo8824-Nov-08 0:55
ndroo8824-Nov-08 0:55 
AnswerRe: Comparing excel data to XML Pin
Mircea Puiu4-Nov-08 1:03
Mircea Puiu4-Nov-08 1:03 
GeneralRe: Comparing excel data to XML Pin
ndroo8824-Nov-08 3:09
ndroo8824-Nov-08 3:09 
GeneralRe: Comparing excel data to XML Pin
Mircea Puiu4-Nov-08 4:26
Mircea Puiu4-Nov-08 4:26 
QuestionExiting Windows Application (from the main form constructor) Pin
Dirso4-Nov-08 0:46
Dirso4-Nov-08 0:46 
AnswerRe: Exiting Windows Application (from the main form constructor) Pin
DanB19834-Nov-08 0:50
DanB19834-Nov-08 0:50 
AnswerRe: Exiting Windows Application (from the main form constructor) Pin
User 66584-Nov-08 0:53
User 66584-Nov-08 0:53 
AnswerRe: Exiting Windows Application (from the main form constructor) Pin
Nicholas Butler4-Nov-08 0:54
sitebuilderNicholas Butler4-Nov-08 0:54 
GeneralRe: Exiting Windows Application (from the main form constructor) Pin
Dirso4-Nov-08 1:19
Dirso4-Nov-08 1:19 
GeneralRe: Exiting Windows Application (from the main form constructor) Pin
Nicholas Butler4-Nov-08 1:57
sitebuilderNicholas Butler4-Nov-08 1:57 
GeneralRe: Exiting Windows Application (from the main form constructor) Pin
Dirso4-Nov-08 3:05
Dirso4-Nov-08 3:05 

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.