Click here to Skip to main content
15,889,877 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to read text present on a image - Cross-post, ignore Pin
Justin Perez25-Jan-08 4:09
Justin Perez25-Jan-08 4:09 
AnswerRe: How to read text present on a image Pin
Paul Conrad25-Jan-08 4:04
professionalPaul Conrad25-Jan-08 4:04 
AnswerRe: How to read text present on a image Pin
#realJSOP25-Jan-08 5:24
mve#realJSOP25-Jan-08 5:24 
GeneralRe: How to read text present on a image Pin
Paul Conrad26-Jan-08 11:32
professionalPaul Conrad26-Jan-08 11:32 
AnswerRe: How to read text present on a image Pin
Vasudevan Deepak Kumar27-Jan-08 23:54
Vasudevan Deepak Kumar27-Jan-08 23:54 
GeneralError Adding Web Reference to Sharepoint Web Service Pin
r-mo23-Jan-08 23:32
r-mo23-Jan-08 23:32 
QuestionAccess of common thread by WCF service and windows service in c#.net 3.0 Pin
anumadhu23-Jan-08 11:37
anumadhu23-Jan-08 11:37 
GeneralRe: Access of common thread by WCF service and windows service in c#.net 3.0 Pin
Tristan Rhodes25-Jan-08 6:26
Tristan Rhodes25-Jan-08 6:26 
I think, you could, in the OnStart function that runs first, store a reference to the current running thread:

Thread _currentThread;

OnStart()
{
_currentThread = Thread.CurrentThread;
}


This should give you a handle to the current thread. You could then add the following code which can be invoked from a different thread:

void Suspend()
{
_currentThread.Suspend() //Depracated - Use Alternative Threading Technique
}

void Resume()
{
_currentThread.Resume() //Depracated - Use Alternative Threading Technique
}


This isn't a good solution, but it's a rought template that might nudge you in the right direction.

Alternatively, it may not be what you're looking for. Smile | :)

Hope it helps anyway.

Tris

-------------------------------

Carrier Bags - 21st Century Tumbleweed.

GeneralBackground Loading of UI - Flickering Rendering Problem [modified] Pin
Tristan Rhodes23-Jan-08 2:00
Tristan Rhodes23-Jan-08 2:00 
GeneralRe: Background Loading of UI - Flickering Rendering Problem Pin
led mike23-Jan-08 5:59
led mike23-Jan-08 5:59 
GeneralConvert VC++ to C#.net Pin
Sunil12322-Jan-08 18:56
Sunil12322-Jan-08 18:56 
GeneralRe: Convert VC++ to C#.net Pin
Dave Kreskowiak23-Jan-08 1:44
mveDave Kreskowiak23-Jan-08 1:44 
GeneralRe: Convert VC++ to C#.net Pin
Pete O'Hanlon23-Jan-08 1:57
mvePete O'Hanlon23-Jan-08 1:57 
GeneralRe: Convert VC++ to C#.net Pin
Paul Conrad24-Jan-08 7:29
professionalPaul Conrad24-Jan-08 7:29 
GeneralRe: Convert VC++ to C#.net Pin
#realJSOP25-Jan-08 5:22
mve#realJSOP25-Jan-08 5:22 
GeneralRe: Convert VC++ to C#.net Pin
Mark Churchill28-Jan-08 13:55
Mark Churchill28-Jan-08 13:55 
Generali know its silly! Pin
Spykraft22-Jan-08 5:04
Spykraft22-Jan-08 5:04 
GeneralRe: i know its silly! Pin
Dave Kreskowiak22-Jan-08 5:07
mveDave Kreskowiak22-Jan-08 5:07 
GeneralRe: i know its silly! Pin
Spykraft22-Jan-08 5:10
Spykraft22-Jan-08 5:10 
GeneralRe: i know its silly! Pin
Dave Kreskowiak22-Jan-08 7:24
mveDave Kreskowiak22-Jan-08 7:24 
GeneralRe: i know its silly! Pin
Pete O'Hanlon22-Jan-08 9:39
mvePete O'Hanlon22-Jan-08 9:39 
GeneralRe: i know its silly! Pin
Scott Dorman22-Jan-08 18:27
professionalScott Dorman22-Jan-08 18:27 
GeneralRe: i know its silly! Pin
Ed.Poore23-Jan-08 2:01
Ed.Poore23-Jan-08 2:01 
GeneralRe: i know its silly! Pin
Paul Conrad24-Jan-08 7:30
professionalPaul Conrad24-Jan-08 7:30 
QuestionIs there any drawback to an assembly loading itself using reflection? Pin
astanton197822-Jan-08 3:11
astanton197822-Jan-08 3:11 

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.