Click here to Skip to main content
15,917,544 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is there a method to change a text box back to it's original state? Pin
Dave Kreskowiak26-Oct-07 12:36
mveDave Kreskowiak26-Oct-07 12:36 
GeneralRe: Is there a method to change a text box back to it's original state? Pin
Luc Pattyn26-Oct-07 13:17
sitebuilderLuc Pattyn26-Oct-07 13:17 
GeneralRe: Is there a method to change a text box back to it's original state? Pin
Dave Kreskowiak26-Oct-07 14:35
mveDave Kreskowiak26-Oct-07 14:35 
Questionconverting a windows C# application to web OCX Pin
samy10026-Oct-07 4:40
samy10026-Oct-07 4:40 
Questionhow can I read 4 hex characters from a textbox and put them in a uint? Pin
Big Ralph26-Oct-07 4:35
Big Ralph26-Oct-07 4:35 
AnswerRe: how can I read 4 hex characters from a textbox and put them in a uint? Pin
Ravi Bhavnani26-Oct-07 4:41
professionalRavi Bhavnani26-Oct-07 4:41 
AnswerRe: how can I read 4 hex characters from a textbox and put them in a uint? Pin
Big Ralph26-Oct-07 5:03
Big Ralph26-Oct-07 5:03 
GeneralRe: how can I read 4 hex characters from a textbox and put them in a uint? Pin
Luc Pattyn26-Oct-07 6:53
sitebuilderLuc Pattyn26-Oct-07 6:53 
Hi,

you could:
1. use long.TryParse() and then split the long in upper and lower halfs.
2. split the string in two parts, and use int.TryParse() on each of them.

The second method may be more difficult since it may have to cope with varying string lengths
when leading zeroes are omitted in the string.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


AnswerRe: how can I read 4 hex characters from a textbox and put them in a uint? Pin
zafersavas26-Oct-07 23:58
zafersavas26-Oct-07 23:58 
QuestionError when running WinForm App Pin
Fayu26-Oct-07 4:17
Fayu26-Oct-07 4:17 
AnswerRe: Error when running WinForm App Pin
Justin Perez26-Oct-07 4:21
Justin Perez26-Oct-07 4:21 
AnswerRe: Error when running WinForm App Pin
Pete O'Hanlon26-Oct-07 9:31
mvePete O'Hanlon26-Oct-07 9:31 
QuestionError in my dataset Pin
khalidelmeknesi26-Oct-07 3:28
khalidelmeknesi26-Oct-07 3:28 
AnswerRe: Error in my dataset Pin
kubben26-Oct-07 3:39
kubben26-Oct-07 3:39 
AnswerRe: Error in my dataset Pin
khalidelmeknesi26-Oct-07 5:09
khalidelmeknesi26-Oct-07 5:09 
QuestionOne DataGridView, one bindingsource, multiple tables Pin
lsconyer26-Oct-07 3:12
lsconyer26-Oct-07 3:12 
QuestionGet number used for Enum Pin
codemunkeh26-Oct-07 2:59
codemunkeh26-Oct-07 2:59 
AnswerRe: Get number used for Enum Pin
kubben26-Oct-07 3:02
kubben26-Oct-07 3:02 
GeneralRe: Get number used for Enum Pin
codemunkeh26-Oct-07 3:14
codemunkeh26-Oct-07 3:14 
GeneralRe: Get number used for Enum Pin
kubben26-Oct-07 3:18
kubben26-Oct-07 3:18 
GeneralRe: Get number used for Enum Pin
codemunkeh26-Oct-07 3:21
codemunkeh26-Oct-07 3:21 
JokeRe: Get number used for Enum Pin
Anthony Mushrow26-Oct-07 7:13
professionalAnthony Mushrow26-Oct-07 7:13 
GeneralRe: Get number used for Enum Pin
Luc Pattyn26-Oct-07 13:20
sitebuilderLuc Pattyn26-Oct-07 13:20 
GeneralRe: Get number used for Enum Pin
Anthony Mushrow26-Oct-07 13:33
professionalAnthony Mushrow26-Oct-07 13:33 
GeneralRe: Get number used for Enum Pin
Luc Pattyn26-Oct-07 14:08
sitebuilderLuc Pattyn26-Oct-07 14: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.