Click here to Skip to main content
15,918,485 members
Home / Discussions / C#
   

C#

 
QuestionStarting explorer Pin
ajtunbridge14-Jul-08 4:52
ajtunbridge14-Jul-08 4:52 
AnswerRe: Starting explorer Pin
DaveyM6914-Jul-08 5:19
professionalDaveyM6914-Jul-08 5:19 
AnswerRe: Starting explorer Pin
TheFM23414-Jul-08 6:58
TheFM23414-Jul-08 6:58 
GeneralRe: Starting explorer Pin
ajtunbridge14-Jul-08 8:49
ajtunbridge14-Jul-08 8:49 
QuestionDecimal symbol in Regional settings [modified] Pin
serega2007us14-Jul-08 4:13
serega2007us14-Jul-08 4:13 
AnswerRe: Decimal symbol in Regional settings Pin
DaveyM6914-Jul-08 4:31
professionalDaveyM6914-Jul-08 4:31 
GeneralRe: Decimal symbol in Regional settings Pin
serega2007us14-Jul-08 4:40
serega2007us14-Jul-08 4:40 
QuestionMemory Exception while saving an image Pin
DeepOceans14-Jul-08 3:59
DeepOceans14-Jul-08 3:59 
Hello
I am working in C# and developing a desktop application. The main tasks of my application are Live Video Capturing, recording, transmission over LAN and motion detection. All are doing fine. But sometimes while grabbing a frame; it throws memory exception i-e
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt"
at line
b.Save("C:\\abc.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);// b is a bitmap object
///// other code
b.dispose();

and after that it throws exception i-e "A generic error occurred in GDI+". As I m continuously grabbing frames in a loop. So once it throws an exception, it stops working. I m searching over it but still didn't get any solution.
plz help me out
thx

Shanzay

AnswerRe: Memory Exception while saving an image Pin
Alan Balkany14-Jul-08 4:03
Alan Balkany14-Jul-08 4:03 
QuestionGetting command line params in a windows forms app Pin
GreatBarrier8614-Jul-08 3:45
GreatBarrier8614-Jul-08 3:45 
AnswerRe: Getting command line params in a windows forms app Pin
Harvey Saayman14-Jul-08 3:52
Harvey Saayman14-Jul-08 3:52 
GeneralRe: Getting command line params in a windows forms app Pin
GreatBarrier8614-Jul-08 3:53
GreatBarrier8614-Jul-08 3:53 
GeneralRe: Getting command line params in a windows forms app Pin
Harvey Saayman14-Jul-08 4:01
Harvey Saayman14-Jul-08 4:01 
GeneralRe: Getting command line params in a windows forms app Pin
GreatBarrier8614-Jul-08 4:03
GreatBarrier8614-Jul-08 4:03 
AnswerRe: Getting command line params in a windows forms app Pin
Harvey Saayman14-Jul-08 5:04
Harvey Saayman14-Jul-08 5:04 
AnswerRe: Getting command line params in a windows forms app Pin
leppie14-Jul-08 4:03
leppie14-Jul-08 4:03 
AnswerRe: Getting command line params in a windows forms app Pin
Giorgi Dalakishvili14-Jul-08 4:08
mentorGiorgi Dalakishvili14-Jul-08 4:08 
GeneralRe: Getting command line params in a windows forms app Pin
leppie14-Jul-08 4:35
leppie14-Jul-08 4:35 
GeneralRe: Getting command line params in a windows forms app Pin
Giorgi Dalakishvili14-Jul-08 5:10
mentorGiorgi Dalakishvili14-Jul-08 5:10 
GeneralRe: Getting command line params in a windows forms app Pin
leppie14-Jul-08 5:37
leppie14-Jul-08 5:37 
GeneralRe: Getting command line params in a windows forms app Pin
Frank Horn14-Jul-08 8:23
Frank Horn14-Jul-08 8:23 
GeneralRe: Getting command line params in a windows forms app Pin
leppie14-Jul-08 8:30
leppie14-Jul-08 8:30 
GeneralRe: Getting command line params in a windows forms app Pin
Frank Horn14-Jul-08 9:13
Frank Horn14-Jul-08 9:13 
QuestionZoom the pannal or windows form in VS .Net 2005 Pin
ag4667714-Jul-08 3:32
ag4667714-Jul-08 3:32 
QuestionProperties Question Pin
Harvey Saayman14-Jul-08 3:24
Harvey Saayman14-Jul-08 3:24 

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.