Click here to Skip to main content
15,909,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: ERROR Pin
m@u27-Dec-07 22:41
m@u27-Dec-07 22:41 
GeneralRe: ERROR Pin
Paul Conrad28-Dec-07 10:19
professionalPaul Conrad28-Dec-07 10:19 
QuestionHow can I flush events for a form? Pin
JoeRip27-Dec-07 17:50
JoeRip27-Dec-07 17:50 
AnswerRe: How can I flush events for a form? Pin
KaptinKrunch28-Dec-07 3:39
KaptinKrunch28-Dec-07 3:39 
GeneralRe: How can I flush events for a form? Pin
JoeRip28-Dec-07 9:57
JoeRip28-Dec-07 9:57 
QuestionHow to access cookie values in a single domain? Pin
Reena.E27-Dec-07 17:30
Reena.E27-Dec-07 17:30 
AnswerRe: How to access cookie values in a single domain? Pin
Paul Conrad28-Dec-07 10:20
professionalPaul Conrad28-Dec-07 10:20 
GeneralByte to hex string conversion Pin
piyush123027-Dec-07 17:27
piyush123027-Dec-07 17:27 
StreamReader sr = File.OpenText(pth);
str = sr.ReadToEnd();

byte[] m_abyData = new byte[str.Length];
int iPos = (0 / 3);
int iLen = (str.Length < (str.Length - iPos)) ? str.Length : (str.Length - iPos);
for (int i = 0; i < iLen; i++)
{
m_abyData[i] = (byte)str[i];
sbVar.Append(string.Format("{0:X2}", m_abyData[i]));
}


this is my actual code.
but it takes very long time for large file.(large in size).
e.g 70,000 kb it takes very long time.
give me solution for fast conversion.
GeneralRe: Byte to hex string conversion Pin
Scott Dorman27-Dec-07 18:15
professionalScott Dorman27-Dec-07 18:15 
GeneralRe: Byte to hex string conversion Pin
Colin Angus Mackay28-Dec-07 0:12
Colin Angus Mackay28-Dec-07 0:12 
GeneralRe: Byte to hex string conversion Pin
piyush123028-Dec-07 3:37
piyush123028-Dec-07 3:37 
GeneralRe: Byte to hex string conversion Pin
Luc Pattyn28-Dec-07 4:25
sitebuilderLuc Pattyn28-Dec-07 4:25 
General[Message Deleted] Pin
Aparna.B27-Dec-07 17:11
Aparna.B27-Dec-07 17:11 
GeneralRe: FTP Pin
KaptinKrunch28-Dec-07 3:41
KaptinKrunch28-Dec-07 3:41 
GeneralDateTime Format Pin
eggie527-Dec-07 16:42
eggie527-Dec-07 16:42 
GeneralRe: DateTime Format Pin
JoeRip27-Dec-07 17:55
JoeRip27-Dec-07 17:55 
GeneralRe: DateTime Format [modified] Pin
JoeRip27-Dec-07 18:00
JoeRip27-Dec-07 18:00 
GeneralRe: DateTime Format Pin
Xmen Real 27-Dec-07 22:19
professional Xmen Real 27-Dec-07 22:19 
GeneralRe: DateTime Format Pin
PIEBALDconsult28-Dec-07 13:38
mvePIEBALDconsult28-Dec-07 13:38 
GeneralRe: DateTime Format Pin
eggie528-Dec-07 13:44
eggie528-Dec-07 13:44 
Questionhow to get motherboard and hard-disk serial number ? Pin
E_Gold27-Dec-07 11:03
E_Gold27-Dec-07 11:03 
AnswerRe: how to get motherboard and hard-disk serial number ? Pin
Kristian Sixhøj27-Dec-07 11:14
Kristian Sixhøj27-Dec-07 11:14 
AnswerRe: how to get motherboard and hard-disk serial number ? Pin
Paul Conrad27-Dec-07 15:01
professionalPaul Conrad27-Dec-07 15:01 
AnswerRe: how to get motherboard and hard-disk serial number ? Pin
Abhijit Jana27-Dec-07 21:42
professionalAbhijit Jana27-Dec-07 21:42 
QuestionHow to change the input language programmatically ? Pin
Aldorado27-Dec-07 10:41
Aldorado27-Dec-07 10:41 

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.