Click here to Skip to main content
15,920,468 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Rich Text Box Pin
Christian Graus25-Oct-09 21:21
protectorChristian Graus25-Oct-09 21:21 
Questionpaging on datagridview in vb.net Pin
vikas shukla25-Oct-09 20:10
vikas shukla25-Oct-09 20:10 
AnswerRe: paging on datagridview in vb.net Pin
Christian Graus25-Oct-09 21:21
protectorChristian Graus25-Oct-09 21:21 
AnswerRe: paging on datagridview in vb.net Pin
Shameel27-Oct-09 0:51
professionalShameel27-Oct-09 0:51 
QuestionHow to convert Hex -> Dec -> Char Pin
pallaka25-Oct-09 19:29
pallaka25-Oct-09 19:29 
AnswerRe: How to convert Hex -> Dec -> Char Pin
Christian Graus25-Oct-09 21:22
protectorChristian Graus25-Oct-09 21:22 
AnswerRe: How to convert Hex -> Dec -> Char Pin
DaveAuld25-Oct-09 21:43
professionalDaveAuld25-Oct-09 21:43 
AnswerRe: How to convert Hex -> Dec -> Char Pin
Luc Pattyn26-Oct-09 1:23
sitebuilderLuc Pattyn26-Oct-09 1:23 
Hi,

your question isn't clear. Maybe what you want is: "I have a string with hex byte values, and I want to convert it to a string holding the ASCII-equivalent characters". If so, you need:
- a way to split the input string in substrings that each represent a single byte (e.g. use string.split to split on spaces)
- a loop to iterate over each substring
- byte.TryParse(...,NumberStyles.Hexadecimal) to convert this to a byte array
- Encoding.ASCII.GetString to convert to the result
- optionally insert spaces to separate the characters

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


Questionevent Pin
helelark12325-Oct-09 4:55
helelark12325-Oct-09 4:55 
AnswerRe: event [modified] Pin
DaveAuld25-Oct-09 8:10
professionalDaveAuld25-Oct-09 8:10 
GeneralRe: event Pin
helelark12325-Oct-09 9:44
helelark12325-Oct-09 9:44 
GeneralRe: event Pin
Christian Graus25-Oct-09 10:08
protectorChristian Graus25-Oct-09 10:08 
GeneralRe: event Pin
helelark12325-Oct-09 10:28
helelark12325-Oct-09 10:28 
GeneralRe: event Pin
Christian Graus25-Oct-09 10:44
protectorChristian Graus25-Oct-09 10:44 
GeneralRe: event Pin
DaveAuld25-Oct-09 21:15
professionalDaveAuld25-Oct-09 21:15 
GeneralRe: event Pin
helelark12325-Oct-09 22:36
helelark12325-Oct-09 22:36 
QuestionVB control Command promt Pin
ericyeoh25-Oct-09 3:37
ericyeoh25-Oct-09 3:37 
AnswerRe: VB control Command promt Pin
Dave Kreskowiak25-Oct-09 8:11
mveDave Kreskowiak25-Oct-09 8:11 
QuestionComparing strings Pin
mehrdadc4825-Oct-09 2:56
mehrdadc4825-Oct-09 2:56 
AnswerRe: Comparing strings Pin
Dave Kreskowiak25-Oct-09 8:07
mveDave Kreskowiak25-Oct-09 8:07 
Questioncontrolling size and position of zoom player Pin
artsound25-Oct-09 2:14
artsound25-Oct-09 2:14 
AnswerRe: controlling size and position of zoom player Pin
Dave Kreskowiak25-Oct-09 8:06
mveDave Kreskowiak25-Oct-09 8:06 
QuestionDetermine mail is simple mail or read receipt Pin
Rupesh Kumar Swami25-Oct-09 1:32
Rupesh Kumar Swami25-Oct-09 1:32 
AnswerRe: Determine mail is simple mail or read receipt Pin
Dave Kreskowiak25-Oct-09 8:05
mveDave Kreskowiak25-Oct-09 8:05 
Questiontimetable scheduler Pin
Burning Candle24-Oct-09 23:53
Burning Candle24-Oct-09 23:53 

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.