Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to convert a file(word doc, image etc) to byte array and back to file(word doc,image etc) Pin
Giorgi Dalakishvili27-Feb-08 1:04
mentorGiorgi Dalakishvili27-Feb-08 1:04 
GeneralRe: how to convert a file(word doc, image etc) to byte array and back to file(word doc,image etc) Pin
Mel Padden27-Feb-08 2:33
Mel Padden27-Feb-08 2:33 
GeneralRe: how to convert a file(word doc, image etc) to byte array and back to file(word doc,image etc) Pin
Xmen Real 27-Feb-08 2:41
professional Xmen Real 27-Feb-08 2:41 
QuestionHow to get column size of a table Pin
sri_k4727-Feb-08 0:01
sri_k4727-Feb-08 0:01 
AnswerRe: How to get column size of a table Pin
Gareth H27-Feb-08 0:49
Gareth H27-Feb-08 0:49 
QuestionHow to create folder [modified] Pin
sugunavathysubramanian26-Feb-08 23:52
sugunavathysubramanian26-Feb-08 23:52 
AnswerRe: How to create folder Pin
Martin#26-Feb-08 23:56
Martin#26-Feb-08 23:56 
GeneralRe: How to create folder Pin
sugunavathysubramanian27-Feb-08 0:27
sugunavathysubramanian27-Feb-08 0:27 
GeneralRe: How to create folder Pin
Justin Perez27-Feb-08 4:25
Justin Perez27-Feb-08 4:25 
AnswerRe: How to create folder Pin
Giorgi Dalakishvili26-Feb-08 23:59
mentorGiorgi Dalakishvili26-Feb-08 23:59 
Generalproblem with richtextbox Keypress Event Pin
DKalepu26-Feb-08 23:31
DKalepu26-Feb-08 23:31 
GeneralRe: problem with richtextbox Keypress Event Pin
telha27-Feb-08 1:25
telha27-Feb-08 1:25 
GeneralRe: problem with richtextbox Keypress Event Pin
DKalepu27-Feb-08 19:03
DKalepu27-Feb-08 19:03 
GeneralPausing thread untill asynchronous operation finishes. Pin
N a v a n e e t h26-Feb-08 23:28
N a v a n e e t h26-Feb-08 23:28 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
Martin#26-Feb-08 23:47
Martin#26-Feb-08 23:47 
Hello,

If you mean Stop and Start the MainThread and you have the instance of the main Window for example.
You could call something like this from your working thread.
private void StopThread()
{
    if(InvokeRequired)
    {
        Invoke.....
        return;
    }
 
    Thread actThread = Thread.CurrentThread;
    actThread.Suspend(); // to start use "actThread.Start();"
}


All the best,

Martin

GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
N a v a n e e t h27-Feb-08 0:00
N a v a n e e t h27-Feb-08 0:00 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
buchstaben27-Feb-08 0:49
buchstaben27-Feb-08 0:49 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
N a v a n e e t h27-Feb-08 1:00
N a v a n e e t h27-Feb-08 1:00 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
Bekjong27-Feb-08 1:35
Bekjong27-Feb-08 1:35 
AnswerRe: Pausing thread untill asynchronous operation finishes. Pin
telha27-Feb-08 1:27
telha27-Feb-08 1:27 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
pbraun27-Feb-08 9:14
pbraun27-Feb-08 9:14 
GeneralAuto Run Procedures In Windows App Pin
GermanDM26-Feb-08 23:05
GermanDM26-Feb-08 23:05 
GeneralRe: Auto Run Procedures In Windows App Pin
jowecape27-Feb-08 1:07
jowecape27-Feb-08 1:07 
GeneralRe: Auto Run Procedures In Windows App Pin
GermanDM27-Feb-08 1:19
GermanDM27-Feb-08 1:19 
GeneralRe: Auto Run Procedures In Windows App Pin
buchstaben27-Feb-08 1:10
buchstaben27-Feb-08 1:10 

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.