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

C#

 
Questionlocalization question -- maybe Heath knows???? Pin
LongRange.Shooter9-Jun-05 4:37
LongRange.Shooter9-Jun-05 4:37 
AnswerRe: localization question -- maybe Heath knows???? Pin
Anonymous9-Jun-05 5:05
Anonymous9-Jun-05 5:05 
GeneralData in DataTables Pin
exhaulted9-Jun-05 4:05
exhaulted9-Jun-05 4:05 
GeneralRe: Data in DataTables Pin
Robert Rohde9-Jun-05 8:42
Robert Rohde9-Jun-05 8:42 
GeneralGet IP Address Pin
Anonymous9-Jun-05 3:36
Anonymous9-Jun-05 3:36 
GeneralRe: Get IP Address Pin
leppie9-Jun-05 3:46
leppie9-Jun-05 3:46 
GeneralRe: Get IP Address Pin
Dave Kreskowiak9-Jun-05 8:16
mveDave Kreskowiak9-Jun-05 8:16 
QuestionConvert Hex strings to Long/Decimals? Pin
Chua Wen Ching9-Jun-05 3:33
Chua Wen Ching9-Jun-05 3:33 
I have a problem. But on .NET 1.1

My Scenario:
Actually I will have a string of hexadecimals read from a xml file. Then from the hexadecimals, i will add 1 value whenever i made any modifications. But just i do not how to get started. It is like an incremental hexadecimals.

I have a string of hex.

string strHex = "0100000000FF";

I want to convert this Hex to decimals, just like the windows calculate, when you type FF in Hex and click on Dec radio button, it will change to 255.

I tried string.Format("{0Big Grin | :-D }", strHex);

I tried Convert.ToDecimal or Convert.ToInt64

But i still cannot find a solution?

----

I know how to convert long to hex. Like this.


for (long x = 000000000000; x <= 281474976710655; x++)

{

Console.WriteLine(string.Format("{0:x12}", x));

Console.ReadLine();

}

But i do not know how to do the opposite? Anyone can help me please?

Thanks.


Regards,
Chua Wen Ching
Visit us at http://www.necoders.com
AnswerRe: Convert Hex strings to Long/Decimals? Pin
S. Senthil Kumar9-Jun-05 6:32
S. Senthil Kumar9-Jun-05 6:32 
QuestionData grid clinet behavior? Pin
hassan azizi9-Jun-05 3:08
hassan azizi9-Jun-05 3:08 
Questionjava script? Pin
hassan azizi9-Jun-05 3:05
hassan azizi9-Jun-05 3:05 
Generalaxwebbrowser event not working on other machines Pin
Green Fuze9-Jun-05 3:03
Green Fuze9-Jun-05 3:03 
Questionjava script security? Pin
hassan azizi9-Jun-05 2:59
hassan azizi9-Jun-05 2:59 
Question200 files limited prolem with OpenFileDialog? Pin
Khoa Bui9-Jun-05 2:51
Khoa Bui9-Jun-05 2:51 
AnswerRe: 200 files limited prolem with OpenFileDialog? Pin
Dave Kreskowiak9-Jun-05 8:02
mveDave Kreskowiak9-Jun-05 8:02 
GeneralHow can I design my own OpenFileDialog? Pin
Khoa Bui11-Jun-05 17:26
Khoa Bui11-Jun-05 17:26 
GeneralRe: How can I design my own OpenFileDialog? Pin
Dave Kreskowiak12-Jun-05 4:06
mveDave Kreskowiak12-Jun-05 4:06 
Generaldrag a picturebox Pin
Anonymous9-Jun-05 1:34
Anonymous9-Jun-05 1:34 
GeneralSelectedPath() not working in FolderBrowserDialog Pin
Anonymous9-Jun-05 1:27
Anonymous9-Jun-05 1:27 
GeneralRe: SelectedPath() not working in FolderBrowserDialog Pin
Robert Rohde12-Jun-05 4:19
Robert Rohde12-Jun-05 4:19 
Generalquestion in using matlab dll in c# Pin
hediii9-Jun-05 1:22
hediii9-Jun-05 1:22 
Generalclean viruse in c# Pin
computer_eng9-Jun-05 1:13
computer_eng9-Jun-05 1:13 
Generalclean viruse in c# Pin
computer_eng9-Jun-05 1:12
computer_eng9-Jun-05 1:12 
GeneralRe: clean viruse in c# Pin
Dave Kreskowiak9-Jun-05 6:52
mveDave Kreskowiak9-Jun-05 6:52 
Generalrawsocket Pin
computer_eng9-Jun-05 1:07
computer_eng9-Jun-05 1:07 

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.