Click here to Skip to main content
15,916,412 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
Christian Graus26-Nov-08 17:53
protectorChristian Graus26-Nov-08 17:53 
GeneralRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
tonyjsebastian126-Nov-08 18:01
tonyjsebastian126-Nov-08 18:01 
AnswerRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
Luc Pattyn26-Nov-08 18:00
sitebuilderLuc Pattyn26-Nov-08 18:00 
GeneralRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
tonyjsebastian126-Nov-08 18:18
tonyjsebastian126-Nov-08 18:18 
GeneralRe: How to search and dispaly the file path for csc.exe? URGENT plz Hep........ Pin
Luc Pattyn26-Nov-08 19:11
sitebuilderLuc Pattyn26-Nov-08 19:11 
Questionfetching the byte[] value from hashtable and display as image Pin
renuga529826-Nov-08 17:30
renuga529826-Nov-08 17:30 
AnswerRe: fetching the byte[] value from hashtable and display as image Pin
Christian Graus26-Nov-08 17:54
protectorChristian Graus26-Nov-08 17:54 
GeneralRe: fetching the byte[] value from hashtable and display as image Pin
renuga529826-Nov-08 18:48
renuga529826-Nov-08 18:48 
since my appplication requirement is to create a window service and store the image , I am using the hashtable to maintain the image data, but while fetching using the above given code i get error,

I have a doubt like while storing the image in hashtabel i am initailizing the byte to 1024 , will that create any error of this type.

the code is given here:
ie reading from stream and storing as byte[]

Stream remoteStream = response.GetResponseStream();
byte[] buffer = new byte[1024];
int bytesRead;

do
{
readerWriter.AcquireWriterLock(5000);
bytesRead = remoteStream.Read(buffer, 0, buffer.Length);
readerWriter.ReleaseWriterLock();
} while (bytesRead > 0);

now adding the byte[] value in the hashtable present in another class.
ImageServer.ht.Add(strCameraName, img);

Thanks,
AnswerRe: fetching the byte[] value from hashtable and display as image Pin
Guffa26-Nov-08 20:17
Guffa26-Nov-08 20:17 
QuestionclsADONET? Pin
dec8226-Nov-08 15:27
dec8226-Nov-08 15:27 
QuestionEngineering Design Pin
viciouskinid26-Nov-08 13:05
viciouskinid26-Nov-08 13:05 
AnswerRe: Engineering Design Pin
Christian Graus26-Nov-08 13:11
protectorChristian Graus26-Nov-08 13:11 
GeneralRe: Engineering Design Pin
PIEBALDconsult26-Nov-08 13:35
mvePIEBALDconsult26-Nov-08 13:35 
GeneralRe: Engineering Design Pin
Christian Graus26-Nov-08 13:35
protectorChristian Graus26-Nov-08 13:35 
GeneralRe: Engineering Design Pin
Mycroft Holmes26-Nov-08 16:11
professionalMycroft Holmes26-Nov-08 16:11 
GeneralRe: Engineering Design Pin
Luc Pattyn26-Nov-08 16:56
sitebuilderLuc Pattyn26-Nov-08 16:56 
GeneralRe: Engineering Design Pin
Mycroft Holmes26-Nov-08 17:10
professionalMycroft Holmes26-Nov-08 17:10 
GeneralRe: Engineering Design Pin
Luc Pattyn26-Nov-08 17:26
sitebuilderLuc Pattyn26-Nov-08 17:26 
GeneralRe: Engineering Design Pin
viciouskinid26-Nov-08 18:08
viciouskinid26-Nov-08 18:08 
QuestionSave and Save As for this xml/c# code Pin
Chris Kentlea26-Nov-08 8:59
Chris Kentlea26-Nov-08 8:59 
AnswerRe: Save and Save As for this xml/c# code [modified] Pin
Pedram Behroozi26-Nov-08 9:19
Pedram Behroozi26-Nov-08 9:19 
GeneralRe: Save and Save As for this xml/c# code Pin
Chris Kentlea26-Nov-08 9:34
Chris Kentlea26-Nov-08 9:34 
GeneralRe: Save and Save As for this xml/c# code Pin
Luc Pattyn26-Nov-08 9:43
sitebuilderLuc Pattyn26-Nov-08 9:43 
GeneralRe: Save and Save As for this xml/c# code Pin
Chris Kentlea26-Nov-08 9:45
Chris Kentlea26-Nov-08 9:45 
GeneralRe: Save and Save As for this xml/c# code Pin
Pedram Behroozi26-Nov-08 9:48
Pedram Behroozi26-Nov-08 9:48 

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.