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

C#

 
GeneralThanks Pin
Yanshof1-Aug-07 6:04
Yanshof1-Aug-07 6:04 
GeneralYou are wellcome! Pin
Martin#1-Aug-07 6:15
Martin#1-Aug-07 6:15 
AnswerRe: How can i know witch button send me the event ? Pin
Scott Dorman1-Aug-07 13:32
professionalScott Dorman1-Aug-07 13:32 
QuestionDatabase Pin
Xmen Real 1-Aug-07 4:59
professional Xmen Real 1-Aug-07 4:59 
AnswerRe: Database Pin
Pete O'Hanlon1-Aug-07 5:09
mvePete O'Hanlon1-Aug-07 5:09 
AnswerRe: Database Pin
Blue_Boy1-Aug-07 5:11
Blue_Boy1-Aug-07 5:11 
QuestionSerial port and reading HEX(FF) Pin
mn759301-Aug-07 4:56
mn759301-Aug-07 4:56 
AnswerRe: Serial port and reading HEX(FF) Pin
Eike Mueller1-Aug-07 5:45
Eike Mueller1-Aug-07 5:45 
With this code sample, I get the 4Fÿ0 back

using System;
using System.Collections.Generic;
using System.Text;

namespace TestBytes
{
class Program
{
static void Main(string[] args)
{
Encoding test = Encoding.Default;
string x = "\x34\x46\xFF\x30";

Console.WriteLine("{0}", x);

byte[] bytes = test.GetBytes(x);

for(int i = 0 ; i < bytes.Length ; i++)
{
Console.Write("{0:X2} ", bytes[i]);
}
Console.Write("\n");
Console.ReadLine();
}
}
}

Maybe you are on a different encoding.default ANSI code page on your PC ?
AnswerRe: Serial port and reading HEX(FF) Pin
Luc Pattyn1-Aug-07 5:49
sitebuilderLuc Pattyn1-Aug-07 5:49 
AnswerRe: Serial port and reading HEX(FF) Pin
mn759301-Aug-07 21:49
mn759301-Aug-07 21:49 
Questionproblem with Linq Expressions Pin
Super Lloyd1-Aug-07 4:35
Super Lloyd1-Aug-07 4:35 
QuestionConverting crystal report in to a RDL file Pin
logicaldna1-Aug-07 3:18
logicaldna1-Aug-07 3:18 
AnswerRe: Converting crystal report in to a RDL file Pin
Not Active1-Aug-07 3:46
mentorNot Active1-Aug-07 3:46 
QuestionRe:Flash Player Control for Standalone Application in .Net Pin
kyreddy1-Aug-07 2:40
kyreddy1-Aug-07 2:40 
AnswerRe:Flash Player Control for Standalone Application in .Net Pin
il_masacratore1-Aug-07 2:53
il_masacratore1-Aug-07 2:53 
QuestionWPF Treeview with checkboxes Pin
Johan Lombaard1-Aug-07 2:16
Johan Lombaard1-Aug-07 2:16 
QuestionCannot Delete a File Pin
Mihir Karkare1-Aug-07 2:13
Mihir Karkare1-Aug-07 2:13 
AnswerRe: Cannot Delete a File Pin
Martin#1-Aug-07 2:25
Martin#1-Aug-07 2:25 
AnswerRe: Cannot Delete a File Pin
Luc Pattyn1-Aug-07 2:27
sitebuilderLuc Pattyn1-Aug-07 2:27 
GeneralRe: Cannot Delete a File Pin
Mihir Karkare2-Aug-07 1:06
Mihir Karkare2-Aug-07 1:06 
AnswerRe: Cannot Delete a File Pin
Naveed7271-Aug-07 3:21
Naveed7271-Aug-07 3:21 
GeneralRe: Cannot Delete a File Pin
Mihir Karkare2-Aug-07 1:09
Mihir Karkare2-Aug-07 1:09 
AnswerRe: Cannot Delete a File Pin
Software_Specialist1-Aug-07 4:53
Software_Specialist1-Aug-07 4:53 
GeneralRe: Cannot Delete a File Pin
Mihir Karkare2-Aug-07 1:11
Mihir Karkare2-Aug-07 1:11 
QuestionHot to make two separate apps communicate? Pin
michal.kreslik1-Aug-07 2:08
michal.kreslik1-Aug-07 2:08 

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.