Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
QuestionHow to get painted image from picturebox [modified] Pin
Vishwanath Patil12-Nov-09 0:41
Vishwanath Patil12-Nov-09 0:41 
AnswerMessage Closed Pin
12-Nov-09 2:25
stancrm12-Nov-09 2:25 
GeneralRe: How to get painted image from picturebox Pin
Vishwanath Patil12-Nov-09 2:37
Vishwanath Patil12-Nov-09 2:37 
AnswerRe: How to get painted image from picturebox Pin
Dave Kreskowiak12-Nov-09 4:23
mveDave Kreskowiak12-Nov-09 4:23 
GeneralRe: How to get painted image from picturebox Pin
Vishwanath Patil12-Nov-09 18:04
Vishwanath Patil12-Nov-09 18:04 
GeneralRe: How to get painted image from picturebox Pin
Dave Kreskowiak13-Nov-09 15:15
mveDave Kreskowiak13-Nov-09 15:15 
QuestionThreaded Proxy? Pin
joana.simoes12-Nov-09 0:40
joana.simoes12-Nov-09 0:40 
AnswerRe: Threaded Proxy? Pin
Covean12-Nov-09 2:08
Covean12-Nov-09 2:08 
Hi there, I'm not the lightbringer but I have an idea where the problem can be.

try
{
    HttpListenerContext request = m_listener.GetContext();
    ThreadPool.QueueUserWorkItem(ProcessRequest, request);
}
catch (Exception e)
{
    System.Diagnostics.Debug.WriteLine(e.ToString());
}


"HttpListenerContext request = " is an variable thats scope starts with the { after the
try and end with the } before catch. So its only valid within this scope, after this scope
the garbgage collector can decide when it will dispose it (should be an object of generation zero).
So I think you should assure your context lives longer.

Greetings
Covean

GeneralRe: Threaded Proxy? Pin
Luc Pattyn12-Nov-09 2:23
sitebuilderLuc Pattyn12-Nov-09 2:23 
GeneralRe: Threaded Proxy? Pin
Covean12-Nov-09 2:47
Covean12-Nov-09 2:47 
AnswerRe: Threaded Proxy? Pin
Luc Pattyn12-Nov-09 2:22
sitebuilderLuc Pattyn12-Nov-09 2:22 
GeneralRe: Threaded Proxy? Pin
joana.simoes13-Nov-09 5:22
joana.simoes13-Nov-09 5:22 
QuestionPDF conversion Pin
Santhosh Sebastian Mattathil11-Nov-09 23:34
Santhosh Sebastian Mattathil11-Nov-09 23:34 
QuestionShowing non 96dpi jpegs in PictureBox Pin
Chesnokov Yuriy11-Nov-09 23:00
professionalChesnokov Yuriy11-Nov-09 23:00 
AnswerRe: Showing non 96dpi jpegs in PictureBox Pin
Eduard Keilholz11-Nov-09 23:03
Eduard Keilholz11-Nov-09 23:03 
QuestionLoading app.config from a remote location fails to load section handler. Pin
Larantz11-Nov-09 22:57
Larantz11-Nov-09 22:57 
AnswerRe: Loading app.config from a remote location fails to load section handler. Pin
Shameel11-Nov-09 23:38
professionalShameel11-Nov-09 23:38 
GeneralRe: Loading app.config from a remote location fails to load section handler. Pin
Larantz11-Nov-09 23:40
Larantz11-Nov-09 23:40 
GeneralRe: Loading app.config from a remote location fails to load section handler. Pin
Larantz11-Nov-09 23:50
Larantz11-Nov-09 23:50 
GeneralRe: Loading app.config from a remote location fails to load section handler. Pin
Shameel12-Nov-09 0:00
professionalShameel12-Nov-09 0:00 
GeneralRe: Loading app.config from a remote location fails to load section handler. Pin
Larantz12-Nov-09 0:11
Larantz12-Nov-09 0:11 
Questionadd row to data grid view problem Pin
Rinad11-Nov-09 22:51
Rinad11-Nov-09 22:51 
AnswerMessage Closed Pin
11-Nov-09 22:55
stancrm11-Nov-09 22:55 
GeneralRe: add row to data grid view problem Pin
Rinad11-Nov-09 23:31
Rinad11-Nov-09 23:31 
GeneralRe: add row to data grid view problem Pin
Gerry Schmitz12-Nov-09 1:39
mveGerry Schmitz12-Nov-09 1:39 

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.